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

12 lines
427 B
Plaintext
Raw Permalink Normal View History

<%#= flash_messages %>
2012-05-13 11:36:04 +00:00
<div id="poststuff">
2012-09-12 11:12:50 +00:00
<h1><%= t('editing.page') %></h1>
2012-05-13 11:36:04 +00:00
<%= form_for @item, :url => admin_page_path(@item), :html => { :class => 'form-horizontal edit_page' } do |f| %>
2012-05-13 12:13:26 +00:00
<%= render :partial => "form", :locals => { :f => f } %>
<div class="form-actions">
<%= f.submit t(:update_), :class => 'btn btn-primary' %>
2012-05-13 12:13:26 +00:00
<%= link_to t('cancel'), get_go_back, :class=>"btn" %>
</div>
<% end %>
2012-05-13 11:36:04 +00:00
</div>