Fixed broken workshop links and fixed awkward styles
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
= columns(medium: 12) do
|
||||
%h3=_'articles.about_bikebike.headings.Who_is_Invited', :t
|
||||
%p=_'articles.about_bikebike.paragraphs.Who_is_Invited', :p
|
||||
= columns(medium: 12) do
|
||||
= columns(medium: 12, class: 'featured-image-container') do
|
||||
%h3=_'articles.about_bikebike.headings.Types_of_Workshops', :t
|
||||
%figure{style: "background-image: url(#{image_path('columbus_people.jpg')})"}
|
||||
%p=_'articles.about_bikebike.paragraphs.Types_of_Workshops', :p
|
||||
|
||||
@@ -3,16 +3,8 @@
|
||||
%p=_'articles.conference_registration.paragraphs.Contact_Info', :s, 2
|
||||
= columns(medium: 12) do
|
||||
= form_tag register_path(@this_conference.slug) do
|
||||
%h3=_'articles.conference_registration.headings.name','What is your name?'
|
||||
.text-field.input-field{class: @errors[:name].present? ? 'has-error' : nil}
|
||||
= show_errors :name
|
||||
= label_tag :name
|
||||
= text_field_tag :name, @name, required: true
|
||||
%h3=_'articles.conference_registration.headings.location','Where are you coming from?'
|
||||
.text-field.input-field{class: @errors[:location].present? ? 'has-error' : nil}
|
||||
= show_errors :location
|
||||
= label_tag :location
|
||||
= text_field_tag :location, @registration.city || location(lookup_ip_location), required: true
|
||||
= textfield :name, @name, required: true, heading: 'articles.conference_registration.headings.name'
|
||||
= textfield :location, (@registration.city || location(lookup_ip_location)), required: true, heading: 'articles.conference_registration.headings.location'
|
||||
%h3=_'articles.conference_registration.headings.languages','Which languages do you speak?'
|
||||
- puts @errors.to_json.to_s
|
||||
.check-box-field.input-field{class: @errors[:languages].present? ? 'has-error' : nil}
|
||||
|
||||
@@ -19,18 +19,8 @@
|
||||
%h2=_@page_title, :t
|
||||
- else
|
||||
%h2=_@page_title, :t
|
||||
.text-field.input-field.big
|
||||
= label_tag :title
|
||||
= text_field_tag :title, @title, required: true, lang: @translation
|
||||
- if @is_translating
|
||||
.original-text
|
||||
%h4=_'translate.content.Translation_of'
|
||||
.value=@workshop.title!
|
||||
= textarea :info, @info, help: 'articles.workshops.paragraphs.info', lang: @translation
|
||||
- if @is_translating
|
||||
.original-text
|
||||
%h4=_'translate.content.Translation_of'
|
||||
.value=(@workshop.info! || '').html_safe
|
||||
= textfield :title, @title, required: true, lang: @translation, big: true, original_value: @is_translating ? @workshop.title! : nil, original_lang: @workshop.locale
|
||||
= textarea :info, @info, help: 'articles.workshops.paragraphs.info', lang: @translation, original_value: @is_translating ? richtext(@workshop.info!, 4).html_safe : nil, original_lang: @workshop.locale
|
||||
- if !@is_translating && (@workshop.id.blank? || @can_edit)
|
||||
= columns(medium: 6) do
|
||||
%h3=_'articles.workshops.headings.languages','Workshop Language'
|
||||
|
||||
Reference in New Issue
Block a user