orbit-4-2/app/views/admin/links/_new.html.erb

10 lines
408 B
Plaintext

<%= form_for @item, url: admin_links_path, remote: true do |f| %>
<fieldset>
<legend><%= t('new.link') %></legend>
<%= render :partial => "form", :locals => { :f => f } %>
<div class="form-actions">
<a href="javascript:$.pageslide.close()" class="btn btn-small"><%= t(:cancel) %></a>
<%= f.submit t(:create_), class: 'btn btn-primary btn-small' %>
</div>
</fieldset>
<% end %>