diff --git a/app/views/admin/education/programs/show.html.erb b/app/views/admin/education/programs/show.html.erb index e3263475a8675bbb1f762c43708c6e7eb210c3c5..1cd1e48366ec359e093e45b81427d2f86153ef34 100644 --- a/app/views/admin/education/programs/show.html.erb +++ b/app/views/admin/education/programs/show.html.erb @@ -85,7 +85,11 @@ <div class="row"> <div class="col-md-6"> <% i = 0 %> - <% [:prerequisites, :objectives, :opportunities, :results].each do |prop| %> + <% [ + :objectives, + :content, + :prerequisites + ].each do |prop| %> <% next if @program.public_send(prop).blank? %> <h3 class="h5 <%= 'mt-4' if i > 0 %>"><%= Education::Program.human_attribute_name(prop) %></h3> <%= @program.public_send prop %> @@ -94,7 +98,12 @@ </div> <div class="col-md-6"> <% i = 0 %> - <% ['pedagogy', 'evaluation', 'content'].each do |prop| %> + <% [ + :pedagogy, + :evaluation, + :opportunities, + :results + ].each do |prop| %> <% next if @program.public_send(prop).blank? %> <h3 class="h5 <%= 'mt-4' if i > 0 %>"><%= Education::Program.human_attribute_name(prop) %></h3> <%= @program.public_send prop %>