Orbit/app/views/admin/pages/_edit.html.erb

10 lines
418 B
Plaintext
Raw Permalink Normal View History

<%= form_for @item, url: admin_page_path(@item), remote: true do |f| %>
<fieldset>
<legend><%= t('editing.page') %></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(:update_), class: 'btn btn-primary btn-small' %>
</div>
</fieldset>
<% end %>