Orbit/app/views/admin/pages/_new.html.erb

11 lines
409 B
Plaintext
Raw Permalink Normal View History

<%= form_for @item, url: admin_pages_path, remote: true do |f| %>
<fieldset>
<legend><%= t('new.page') %></legend>
<%= render :partial => "form", :locals => { :f => f } %>
<div class="form-actions">
<a href="javascript:$.pageslide.close()" class="btn btn-small"><%= t(:cancel) %></a>
<%= f.submit t(:create_), class: 'btn btn-primary btn-small' %>
</div>
</fieldset>
<% end %>