<%= content_tag :p, t('.par') %> <%= bootstrap_form_for(User.new, url: ldap_multi_create_path, method: :post, layout: :horizontal, html: {id: 'ldap_create'}) do |f| %> <%= f.form_group do %> <%= content_tag 'table', id: 'ldap_create', class: 'table table-striped table-condensed' do %> <%= User.human_attribute_name(:username) %> <%= User.human_attribute_name(:fullname) %> <%= User.human_attribute_name(:email) %> <%= User.human_attribute_name(:department) %> <%= render partial: 'entry', collection: @entries %> <% end %> <% end %> <%= f.role_select %> <%= f.form_group class: 'form-actions' do %> <%= f.submit t('.submit_text'), class: 'btn btn-primary' %> <%= back_link class: 'btn btn-default pull-right', text: t('chaltron.common.cancel'), icon: 'times' %> <% end %> <% end %>