%= bootstrap_form_for @contact, url: @contact.new_record? ? exhibit_contacts_path(@exhibit) : @contact, style: :horizontal, html: {class: 'col-md-9' } do |f| %> <%= f.text_field :name, placeholder: t(:'.name.placeholder') %> <%= f.text_field :email, placeholder: t(:'.email.placeholder') %> <%= f.text_field :title, placeholder: t(:'.title.placeholder') %> <%= f.text_field :location, placeholder: t(:'.location.placeholder') %>