Long tail of style and accessibility fixes
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
- if preview.blank? && workshop.can_show_interest?(current_user)
|
||||
= form_tag toggle_workshop_interest_path(workshop.conference.slug, workshop.id) do
|
||||
= button_tag (workshop.interested?(current_user) ? :remove_interest : :show_interest), :value => :toggle_interest, :class => (workshop.interested?(current_user) ? :delete : :add)
|
||||
=_!(workshop.info).html_safe if workshop.info.present?
|
||||
= richtext workshop.info
|
||||
- if preview.blank? && translations_available_for_editing
|
||||
.actions
|
||||
- translations_available_for_editing.each do |locale|
|
||||
@@ -55,6 +55,6 @@
|
||||
%h3=_'articles.workshops.headings.needs','What do you need?'
|
||||
%p= _!((needs.map { |x| _"workshop.options.needs.#{x}" }).join(', ').to_s.html_safe)
|
||||
- if workshop.notes.present?
|
||||
= columns(medium: 12) do
|
||||
= columns(medium: 12, class: 'workshop-notes') do
|
||||
%h3=_'articles.workshops.headings.notes','Notes'
|
||||
=_!(workshop.notes).html_safe
|
||||
= richtext workshop.notes, 3
|
||||
|
||||
@@ -26,10 +26,7 @@
|
||||
.original-text
|
||||
%h4=_'translate.content.Translation_of'
|
||||
.value=@workshop.title!
|
||||
.text-area-field.input-field
|
||||
= label_tag :info
|
||||
.input-field-help=_'articles.workshops.paragraphs.info', :s, 2
|
||||
.textarea#info{lang: @translation, data: {name: :info}}=(@info || '').html_safe
|
||||
= textarea :info, @info, help: 'articles.workshops.paragraphs.info', lang: @translation
|
||||
- if @is_translating
|
||||
.original-text
|
||||
%h4=_'translate.content.Translation_of'
|
||||
@@ -80,10 +77,7 @@
|
||||
= label_tag :needs_facilitators do
|
||||
= _'workshop.options.needs_facilitators', 'Needs Additional Facilitators'
|
||||
= columns(medium: 12) do
|
||||
.text-area-field.input-field
|
||||
= label_tag :notes
|
||||
.warning-info=_'articles.workshops.paragraphs.notes','Notes are only viewable by conference hosts and workshop facilitators'
|
||||
.textarea#notes{data: {name: :notes}}=(@workshop.notes || '').html_safe
|
||||
= textarea :notes, @workshop.notes, warning: 'articles.workshops.paragraphs.notes'
|
||||
= columns(medium: 12) do
|
||||
.actions.next-prev
|
||||
= button_tag :save, value: :save
|
||||
|
||||
Reference in New Issue
Block a user