<%= custom_form_for(@category, :url => categories_path, :html => {:class => "form-horizontal"}) do |f| %>
<%= render 'shared/error_messages', :object => @category %>
<%= f.text_field :name, :label => "Nombre", :placeholder => "Nombre de la categoria" %>