This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/pages/edit.html.erb

16 lines
374 B
Plaintext
Raw Normal View History

2011-06-10 05:57:42 +00:00
<% content_for :sidebar do %>
<%= render 'admin/items/site_map_left_bar' %>
<% end -%>
<h1><%= t('admin.editing_page') %></h1>
<%= form_for @item, :url => admin_page_path(@item) do |f| %>
<%= f.error_messages %>
2011-06-10 07:02:34 +00:00
<%= render :partial => @code ? 'form_code' : 'form', :locals => { :f => f } %>
<p>
<%= f.submit t('update') %> <%= link_back %>
</p>
<% end %>