You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
- 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"
|
|
= render 'header'
|
|
|
|
=# tabs!
|
|
|
|
%article.row
|
|
.columns.large-10
|
|
- if @register_step
|
|
%h2='Register!'
|
|
- if @actions
|
|
= form_tag (@conference.url + '/register/').gsub(/\/\/+/, '/'), :method => :post do
|
|
= 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
|
|
- else
|
|
%h2=('About '+@conference.title)
|
|
=p @conference, :info
|
|
|
|
- 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
|