Sprankelprachtig aan/afmeldsysteem

mass_new.html.haml 545B

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