2011-06-01 02:24:14 +00:00
|
|
|
<%= flash_messages %>
|
2012-05-13 12:13:26 +00:00
|
|
|
<div id="poststuff">
|
|
|
|
<h1><%= t('admin.new_page') %></h1>
|
|
|
|
<%= form_for @item, :url => admin_page_path, :html => { :class => 'form-horizontal edit_page' } do |f| %>
|
|
|
|
<%= render :partial => "form", :locals => { :f => f } %>
|
|
|
|
<div class="form-actions">
|
|
|
|
<%= f.submit t('update'), :class => 'btn btn-primary' %>
|
|
|
|
<%= link_to t('cancel'), get_go_back, :class=>"btn" %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|