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.
2011-06-10 05:57:42 +00:00
|
|
|
<% content_for :sidebar do %>
|
|
|
|
<%= render 'admin/items/site_map_left_bar' %>
|
|
|
|
<% end -%>
|
|
|
|
|
2011-04-13 10:19:51 +00:00
|
|
|
<h1><%= t('admin.editing_page') %></h1>
|
2010-01-14 10:30:53 +00:00
|
|
|
|
2011-05-25 06:50:56 +00:00
|
|
|
<%= form_for @item, :url => admin_page_path(@item) do |f| %>
|
2011-04-13 10:19:51 +00:00
|
|
|
<%= f.error_messages %>
|
2011-06-10 07:02:34 +00:00
|
|
|
<%= render :partial => @code ? 'form_code' : 'form', :locals => { :f => f } %>
|
2009-05-07 17:18:16 +00:00
|
|
|
|
|
|
|
<p>
|
2011-04-13 10:19:51 +00:00
|
|
|
<%= f.submit t('update') %> <%= link_back %>
|
|
|
|
|
2009-05-07 17:18:16 +00:00
|
|
|
</p>
|
2011-04-13 10:19:51 +00:00
|
|
|
<% end %>
|