Sprankelprachtig aan/afmeldsysteem

mass_add_members.html.haml 555B

12345678910111213141516171819
  1. .container
  2. .row
  3. .col-md-12
  4. %h1
  5. = t 'groups.mass_add_members', group: @group.name
  6. .row
  7. .col-md-12
  8. %p
  9. = t 'groups.mass_add_explanation'
  10. = link_to asset_path('batch_persons.csv'), class: 'btn btn-default' do
  11. = t :download
  12. .row
  13. .col-md-12
  14. = form_tag(group_mass_add_path(@group), method: 'post', multipart: true) do
  15. .form-group
  16. = file_field_tag 'spreadsheet', required: true
  17. .form-group
  18. = submit_tag("Go!", class: 'btn btn-warning', confirm: t(:areyousure))