diff --git a/app/views/orgs/admin_show.html.erb b/app/views/orgs/admin_show.html.erb index fe91c9c..fffd4ef 100644 --- a/app/views/orgs/admin_show.html.erb +++ b/app/views/orgs/admin_show.html.erb @@ -54,7 +54,7 @@ <% if @org.org_type != 0 then %> <%= _('Organisation type') %> - <%= @org.organisation_type %> + <%= @org.type %> <% end %> diff --git a/app/views/templates/_show_phases_sections.html.erb b/app/views/templates/_show_phases_sections.html.erb index 1338717..784f16e 100644 --- a/app/views/templates/_show_phases_sections.html.erb +++ b/app/views/templates/_show_phases_sections.html.erb @@ -37,22 +37,24 @@ <% (1..phase_hash[:sections].length).each do |section_no| %> <% section = phase_hash[:sections][section_no] %> - - -

<%= section[:data].title %>

- - - <% if section[:questions].present? %> - - <% end %> - - + <% if section.present? %> + + +

<%= section[:data].title %>

+ + + <% if section[:questions].present? %> + + <% end %> + + + <% end %> <% end %>