%= form_for([:admin, @domain], html: { class: 'form-horizontal' }) do |f| %> <%= render 'shared/full_errors', object: @domain %>