diff --git a/app/views/annotations/_edit_annotation.html.erb b/app/views/annotations/_edit_annotation.html.erb index 6fa1e35..dd1b5b7 100644 --- a/app/views/annotations/_edit_annotation.html.erb +++ b/app/views/annotations/_edit_annotation.html.erb @@ -4,7 +4,7 @@ - +
<%= _('Example of Answer')%><%= _('example answer')%>
  • <%= f.text_area :text, rows: 5 %>
  • diff --git a/app/views/annotations/_show_annotation.html.erb b/app/views/annotations/_show_annotation.html.erb index 9cc93de..3c95ace 100644 --- a/app/views/annotations/_show_annotation.html.erb +++ b/app/views/annotations/_show_annotation.html.erb @@ -2,7 +2,7 @@ @@ -11,5 +11,5 @@
    <%= hidden_field_tag :question_id, question.id, class: "question_id" %> - <%= link_to _('Edit Example of Answer'), '# ', class: "btn btn-primary edit_form_for_suggested_answer"%> + <%= link_to _('Edit Example Answer'), '# ', class: "btn btn-primary edit_form_for_suggested_answer"%>
    diff --git a/app/views/guidances/_edit_guidance.html.erb b/app/views/guidances/_edit_guidance.html.erb index 7138ceb..ffae58d 100644 --- a/app/views/guidances/_edit_guidance.html.erb +++ b/app/views/guidances/_edit_guidance.html.erb @@ -7,7 +7,7 @@ diff --git a/app/views/phases/_answer_form.html.erb b/app/views/phases/_answer_form.html.erb index 952195c..9d7dcd8 100644 --- a/app/views/phases/_answer_form.html.erb +++ b/app/views/phases/_answer_form.html.erb @@ -37,7 +37,7 @@ <% if annotation.text.present? %>
    - <%="#{annotation.org.abbreviation} "%> <%=_('Example of answer')%> + <%="#{annotation.org.abbreviation} "%> <%=_('example answer')%>
    diff --git a/app/views/questions/_preview_question.html.erb b/app/views/questions/_preview_question.html.erb index da593ea..d4a709c 100644 --- a/app/views/questions/_preview_question.html.erb +++ b/app/views/questions/_preview_question.html.erb @@ -61,7 +61,7 @@ <% annotation = question.annotations.where(type: Annotation.types[:example_answer]).order(:created_at).first %>
    - <%= _('Example of answer')%> + <%= _('example answer')%>

    @@ -80,7 +80,7 @@ <% if !annotations.blank? %>

    - <%= _('Example of answer')%> + <%= _('example answer')%>

    diff --git a/app/views/questions/_show_question.html.erb b/app/views/questions/_show_question.html.erb index 1f3423b..0518453 100644 --- a/app/views/questions/_show_question.html.erb +++ b/app/views/questions/_show_question.html.erb @@ -67,7 +67,7 @@ <% if example_answer.present? && example_answer.text.present? %>

    diff --git a/app/views/templates/_edit_annotations.html.erb b/app/views/templates/_edit_annotations.html.erb index 443f6cb..8273f4d 100644 --- a/app/views/templates/_edit_annotations.html.erb +++ b/app/views/templates/_edit_annotations.html.erb @@ -44,7 +44,7 @@ - +
    - <%= _('Example of answer')%> + <%= _('Example Answer')%> <%= raw annotation.text %>
    <%= _('Suggested answer/ Example')%>
      -
    • <%= f.select :is_example, {_('Example of answer') => true, _('Suggested answer') => false} %>
    • +
    • <%= f.select :is_example, {_('Example Answer') => true, _('Suggested answer') => false} %>
    • <%= f.text_area :text, rows: 5 %>
    - <%= _('Example of answer')%> + <%= _('example answer')%> <%= raw example_answer.text %>
    <%= _('Example of Answer')%><%= _('example answer')%>
    <% annotations = question.annotations.where(org_id: current_user.org_id).where(type: Annotation.types[:example_answer]).order(:created_at).first %>