First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
22
app/views/conference_registration/register.html.haml
Normal file
22
app/views/conference_registration/register.html.haml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
.container-fluid
|
||||
.row-fluid
|
||||
.span12
|
||||
%h3.pull-left
|
||||
Registration for
|
||||
= @conference.title
|
||||
.row-fluid
|
||||
.span12
|
||||
= semantic_form_for(@registration, :url => register_conference_path(@conference.short_title), :html => { :method => :put }) do |f|
|
||||
= f.fields_for :person do
|
||||
= f.inputs :public_name, :for => :person
|
||||
= f.input :attending_social_events, :label => false
|
||||
= f.input :attending_social_events_with_partner, :label => false
|
||||
= f.input :using_affiliated_lodging, :label => false
|
||||
= f.input :arrival, :as => :string, :input_html => { :id => "conference-start-datepicker", :readonly => "readonly" }
|
||||
= f.input :departure, :as => :string, :input_html => { :id => "conference-end-datepicker", :readonly => "readonly" }
|
||||
- if @registered
|
||||
= f.action :submit, :button_html => { :value => "Update Registration", :class => "btn btn-primary" }
|
||||
= link_to "Unregister", register_conference_path(@conference.short_title),:method => :delete, :class => "btn btn-danger",
|
||||
:confirm => "Are you sure you want to unregister?"
|
||||
- else
|
||||
= f.action :submit, :button_html => { :value => "Register", :class => "btn btn-primary" }
|
||||
Loading…
Add table
Add a link
Reference in a new issue