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-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>
|
2012-05-13 15:48:34 +00:00
|
|
|
<%= form_for @item, :url => admin_pages_path, :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">
|
2012-05-22 06:45:49 +00:00
|
|
|
<%= f.submit t('create'), :class => 'btn btn-primary' %>
|
2012-05-13 12:13:26 +00:00
|
|
|
<%= link_to t('cancel'), get_go_back, :class=>"btn" %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|