Restore views for Admin::EventsController#new and Admin::UsersController#edit
1. Restore views lost during81853d1: git restore --source4a16836\ 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 in81853d1: - app/views/admin/events/new.html.haml 4. Substitute partial unified in88b5596: - app/views/admin/events/new.html.haml resolves #2975
This commit is contained in:
parent
9f72c5b75b
commit
3ae1275fb5
3 changed files with 55 additions and 0 deletions
10
app/views/admin/events/new.html.haml
Normal file
10
app/views/admin/events/new.html.haml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
.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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue