16 lines
374 B
Plaintext
16 lines
374 B
Plaintext
<% 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 %>
|
|
<%= render :partial => @code ? 'form_code' : 'form', :locals => { :f => f } %>
|
|
|
|
<p>
|
|
<%= f.submit t('update') %> <%= link_back %>
|
|
|
|
</p>
|
|
<% end %>
|