<%= bootstrap_form_tag(url: ldap_multi_new_path, method: :post, layout: :horizontal) do |f| %> <%= f.text_field :userid, label: t('.name_label'), help: t('.name_help') %> <%= f.text_field :fullname, label: t('.fullname_label'), help: t('.fullname_help') %> <%= f.text_field :department, label: t('.department_label'), help: t('.department_help') %> <%= f.text_field :limit, label: t('.limit_label'), help: t('.limit_help'), value: @limit %> <%= f.form_group class: 'form-actions' do %> <%= submit_tag t('.submit_text'), class: 'btn btn-primary' %> <%= link_to users_path, class: 'btn btn-default pull-right' do %> <%= icon :times, t('chaltron.common.cancel') %> <% end %> <% end %> <% end %>