diff --git a/app/views/phases/_answer.html.erb b/app/views/phases/_answer.html.erb index 5793739..24cf732 100644 --- a/app/views/phases/_answer.html.erb +++ b/app/views/phases/_answer.html.erb @@ -14,7 +14,7 @@ right now you'd need to parameterise it with the form parameter which doesn't exist if you are coming from /answer/update --> -
<%= _("While you were editing #{answer.user.name} saved the following answer:") %>
+<%= _("While you were editing ") + answer.user.name + _(" saved the following answer:") %>
<%= semantic_form_for answer, :url => {:controller => :answers, :action => :update }, :remote => true do |af| %> <%= af.inputs do %> @@ -64,14 +64,14 @@ <% end %> <% if qformat.textfield? %> - <%= text_field_tag("answer-text-Ans#{question.id}".to_sym, strip_tags(answer.text), class: "question_text_field") %> + <%= text_field_tag("answer-text-Ans#{question.id}".to_sym, strip_tags(answer.text), class: "question_text_field", disabled: true) %> <% elsif qformat.textarea? %> - <%= text_area_tag("answer-text-Ans#{question["id"]}".to_sym, strip_tags(answer.text), class: "tinymce answer-notice") %> + <%= text_area_tag("answer-text-Ans#{question["id"]}".to_sym, strip_tags(answer.text), class: "tinymce answer-notice", disabled: true) %> <% end %> <% end %> <% end %> -<%= _('Combine their changes with your answer below and then save the answer again.') %>
+<%= _('Combine their changes with your answer below and then save the answer again.') %>
<%= _('The edits in the box below will overwrite the existing answer from ') + answer.user.name + _(' once you click save!')%>