Speaker can be changed in admin/conference/x/events
This commit is contained in:
parent
cb76a9b7cc
commit
c6956482f0
6 changed files with 52 additions and 1 deletions
11
app/views/admin/speakers/_form.html.haml
Normal file
11
app/views/admin/speakers/_form.html.haml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
.modal-header
|
||||
%button.close{:type => "button", :data => {:dismiss => "modal"}} ×
|
||||
%h3
|
||||
Assign speaker
|
||||
= semantic_form_for @speaker, :as => :speaker, :url => admin_conference_event_speaker_path(@conference.short_title, @event), :method => :put do |f|
|
||||
.form-inputs.form-horizontal.modal-body
|
||||
= f.collection_select(:person_id, Person.order(:public_name), :id, :public_name)
|
||||
|
||||
.modal-footer
|
||||
= link_to "Close", "#", :data => {:dismiss => "modal"}, :class => 'btn'
|
||||
= f.button "Assign", :class => 'btn btn-primary'
|
||||
Loading…
Add table
Add a link
Reference in a new issue