BikeBikeBike/app/views/conferences/_workshops.html.haml

23 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-07-18 20:18:25 -07:00
= columns(medium: 12, class: 'major-group') do
2017-04-09 11:37:16 -07:00
- if @my_workshops.present?
%h3=_'articles.conference_registration.headings.Your_Workshops'
%p=_'articles.conference_registration.paragraphs.Your_Workshops', :p
= render 'workshops/workshop_previews', :workshops => @my_workshops
- else
%p=_'articles.conference_registration.paragraphs.Create_Workshop', :p
= link_to (_'articles.conference_registration.headings.Add_Workshop'), create_workshop_path(@this_conference.slug), class: :button
2016-07-18 15:17:16 -07:00
- if @requested_workshops.present?
2017-04-09 11:37:16 -07:00
= columns(medium: 12, class: 'major-group') do
%h3=_'articles.conference_registration.headings.Workshops_You_Have_Requested'
%p=_'articles.conference_registration.paragraphs.Workshops_You_Have_Requested', :p
= render 'workshops/workshop_previews', :workshops => @requested_workshops
2016-05-30 18:24:07 -07:00
- if @workshops_in_need.present?
2017-04-09 11:37:16 -07:00
= columns(medium: 12, class: 'major-group') do
%h3=_'articles.conference_registration.headings.Workshops_Looking_For_Facilitators'
%p=_'articles.conference_registration.paragraphs.Workshops_Looking_For_Facilitators', :p
= render 'workshops/workshop_previews', :workshops => @workshops_in_need
2016-05-30 18:24:07 -07:00
- if @workshops.present?
2017-04-09 11:37:16 -07:00
= columns(medium: 12, class: 'major-group') do
%h3=_'articles.conference_registration.headings.All_Workshops'
= render 'workshops/workshop_previews', :workshops => @workshops