34 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-07-13 11:08:01 -06:00
- location = @conference.organizations.first.locations.first
- location_name = location.city + ', ' + (location.territory ? Carmen::Country.coded(location.country).subregions.coded(location.territory).name : location.country)
- title @conference.title
- description "#{@conference.title} conference in #{location_name} for DIY bicycle collectives, co-ops, and advocacy groups"
2014-07-05 10:27:49 -06:00
= render 'header'
2014-07-11 23:15:12 -06:00
%article.row
.columns.large-10
2014-07-13 17:23:28 -06:00
- if @register_step
2014-07-24 00:16:33 -06:00
%h2='Conference Registration'
2014-07-18 20:35:15 -06:00
- if @actions
2014-07-24 00:16:33 -06:00
= form_tag (@conference.url + '/register/').gsub(/\/\/+/, '/'), :method => :post, :multipart => @multipart do
2014-07-18 20:35:15 -06:00
= hidden_field_tag :step, @register_step
- if @error_message
.columns.medium-8.medium-centered
%p.error=@error_message
= render @register_template
.columns= form_actions @actions
- else
= render @register_template
2014-07-13 17:23:28 -06:00
- else
%h2=('About '+@conference.title)
=p @conference, :info
- if @conference.registration_open
.columns.small-12.centered
%a.button.register-now{href: @conference.url(:register)}
=_'conference.Register_Now'
2014-07-12 20:19:48 -06:00
- content_for :side_bar do
%h5= @conference.title+' is hosted by:'
%ul.preview-list.org-list.small-block-grid-2.large-block-grid-1
- @conference.organizations.each do |organization|
%li=render 'organizations/preview', :organization => organization