<%= form_for @item, url: admin_pages_path, remote: true do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<%= t(:cancel) %> <%= f.submit t(:create_), class: 'btn btn-primary btn-small' %>
<% end %>