osem-fcy/app/views/admin/events/new.html.haml
Andrew Kvalheim 3ae1275fb5 Restore views for Admin::EventsController#new and Admin::UsersController#edit
1. Restore views lost during 81853d1:

        git restore --source 4a16836 \
          app/views/admin/users/_form.html.haml \
          app/views/application/edit.html.haml \
          app/views/application/new.html.haml
        mv app/views/application/edit.html.haml app/views/admin/users/
        mv app/views/application/new.html.haml app/views/admin/events/

 2. Convert from Formtastic:

      - app/views/admin/users/_form.html.haml

 3. Add header as in 81853d1:

      - app/views/admin/events/new.html.haml

 4. Substitute partial unified in 88b5596:

      - app/views/admin/events/new.html.haml

resolves #2975
2023-05-01 18:34:55 -07:00

10 lines
226 B
Text

.row
.col-md-12
.page-header
%h1
New Event
.row
.col-md-8
= form_for(@event, url: @url) do |f|
= render partial: 'proposals/form', locals: { f: f }
= render partial: 'shared/user_selectize'