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.
|
|
|
%ul.workshop-list
|
|
|
|
- workshops.sort_by{ |w| w.title.downcase }.each do |w|
|
|
|
|
- is_interested = w.interested?(current_user)
|
|
|
|
%li{class: [is_interested ? :interested : nil]}
|
|
|
|
%h4.title=_!(w.title)
|
|
|
|
.workshop-interest
|
|
|
|
- if w.can_show_interest?(current_user)
|
|
|
|
= form_tag toggle_workshop_interest_path(w.conference.slug, w.id), class: 'js-xhr' do
|
|
|
|
%span.interest-text=interest_text(w)
|
|
|
|
%span.interest-button=interest_button(w)
|
|
|
|
- elsif w.interested_count > 0
|
|
|
|
%span.interest-text=interest_text(w)
|
|
|
|
.workshop-description=richtext w.info, 4
|
|
|
|
.actions.right
|
|
|
|
= link_to (_'articles.workshops.info.read_more'), view_workshop_path(w.conference.slug, w.id), class: ['workshop-link', :button, :small]
|