%- model_class = @content.class -%>
<%= form_for @content, :url => contents_path, :as => :content, :html => { :class => 'form-horizontal' } do |f| %>
<%= render :partial => 'fields_new', :locals => {f: f} %>
<%= f.submit nil, :class => 'btn btn-primary' %>
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
contents_path, :class => 'btn' %>
<% end %>