diff --git a/app/views/phases/_answer_form.html.erb b/app/views/phases/_answer_form.html.erb index a2c5034..5d58414 100644 --- a/app/views/phases/_answer_form.html.erb +++ b/app/views/phases/_answer_form.html.erb @@ -126,26 +126,26 @@ <%= link_to _('Guidance'), "#", :class => "guidance_accordion_button" %>
  • - <% if comments.count > 0 then%> + <% if comments.count > 0%> <% comments_label_with_count = "#{_('Notes')} (#{comments.count})"%> <%= link_to comments_label_with_count , "#", id: "notes_number_#{question_id}", class: "comments_accordion_button" %> - <%else%> + <% else %> <%= link_to _('Share note'), "#", id: "notes_number_#{question_id}", class: "comments_accordion_button" %> - <%end%> + <% end %>
  • - <%else%> + <% else %> <% css_style_comment_div = ""%> <% css_style_guidance_div = "display: none;"%>
  • - <% if comments.count > 0 then%> + <% if comments.count > 0 %> <% comments_label_with_count = "#{_('Notes')} (#{comments.count})"%>

    <%= comments_label_with_count %>

    - <%else%> + <% else %>

    <%= _('Share note') %>

    - <%end%> + <% end %>
  • - <%end%> + <% end %> @@ -171,7 +171,7 @@
    -
    <%= annotation.text %>
    +
    <%= raw annotation.text %>
    @@ -184,13 +184,13 @@ <% group.each do |gobj| %>
    - +
    <%= gobj[:org] %> guidance on <%= theme %>
    -
    +
    <%= raw gobj[:text] %>
    <% guidance_accordion_id += 1 %>