Skip to content

Commit 3f93667

Browse files
committed
Change capitalization and indentation of workshop sections, and add spanish translation for Age range
1 parent 05e3f09 commit 3f93667

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

app/views/workshops/_show_body.html.erb

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -88,22 +88,22 @@
8888
<% end %>
8989

9090
<% workshop_sections = { "Objective" => workshop.objective,
91-
"Age Range" => workshop.age_range,
92-
"Materials" => workshop.materials,
93-
"Optional Materials" => workshop.optional_materials,
94-
"Suggested time frame" => workshop.time_frame_total,
95-
"Setup" => workshop.setup,
96-
"Introduction" => workshop.introduction,
97-
"Demonstration" => workshop.demonstration,
98-
"Opening" => workshop.opening_circle,
99-
"Warm Up" => workshop.warm_up,
100-
"Visualization" => workshop.visualization,
101-
"Creation" => workshop.creation,
102-
"Closing" => workshop.closing,
103-
"Notes" => workshop.notes,
104-
"Tips" => workshop.tips,
105-
"Miscellaneous" => workshop.misc1,
106-
"Miscellaneous 2" => workshop.misc2 } %>
91+
"Age range" => workshop.age_range,
92+
"Materials" => workshop.materials,
93+
"Optional materials" => workshop.optional_materials,
94+
"Suggested time frame" => workshop.time_frame_total,
95+
"Setup" => workshop.setup,
96+
"Introduction" => workshop.introduction,
97+
"Demonstration" => workshop.demonstration,
98+
"Opening" => workshop.opening_circle,
99+
"Warm up" => workshop.warm_up,
100+
"Visualization" => workshop.visualization,
101+
"Creation" => workshop.creation,
102+
"Closing" => workshop.closing,
103+
"Notes" => workshop.notes,
104+
"Tips" => workshop.tips,
105+
"Miscellaneous" => workshop.misc1,
106+
"Miscellaneous 2" => workshop.misc2 } %>
107107
<% workshop_sections.each do |title, content| %>
108108
<% next if content.blank? ||
109109
(title == "Suggested time frame" && content == "00:00") %>
@@ -146,9 +146,9 @@
146146
<!-- Spanish -->
147147
<div id="spanish-content" data-tabs-target="tabContent" class="hidden">
148148
<% workshop_sections_spanish = { "Objetivo" => workshop.objective_spanish,
149-
"Age Range" => workshop.age_range_spanish,
149+
"Rango de edad" => workshop.age_range_spanish,
150150
"Materiales" => workshop.materials_spanish,
151-
"Materiales Opcionales" => workshop.optional_materials_spanish,
151+
"Materiales opcionales" => workshop.optional_materials_spanish,
152152
"Setup" => workshop.setup_spanish,
153153
"Tiempo sugerido" => workshop.time_frame_total,
154154
"Introducción" => workshop.introduction_spanish,

0 commit comments

Comments
 (0)