diff --git a/app/views/answers/_new_edit.html.erb b/app/views/answers/_new_edit.html.erb index 9464877..1558638 100644 --- a/app/views/answers/_new_edit.html.erb +++ b/app/views/answers/_new_edit.html.erb @@ -2,7 +2,7 @@ This partial creates a form for each type of question. The local variables are: plan, answer, question, readonly --> <% q_format = question.question_format %> -<%= form_for answer, url: {controller: :answers, action: :update}, html: {method: :put, class: "roadmap-form", 'data-autosave': question.id}, remote: true do |f| %> +<%= form_for answer, url: {controller: :answers, action: :update}, html: {method: :put, class: "roadmap-form answer", 'data-autosave': question.id}, remote: true do |f| %>
<% if !readonly %> <%= f.hidden_field :id %> @@ -105,6 +105,9 @@
" class="answer-status inline left-indent"> <%= render(partial: 'answers/status', locals: { answer: answer }) %>
+ <% if !readonly %> + + <% end %>
<% end %> \ No newline at end of file diff --git a/app/views/answers/_status.html.erb b/app/views/answers/_status.html.erb index ddf8dcf..c0fdfcc 100644 --- a/app/views/answers/_status.html.erb +++ b/app/views/answers/_status.html.erb @@ -1,9 +1,8 @@ - - - -
- <% if answer.updated_at.blank? %> - <%= _('Not answered yet') %> - <% else %> - <%= _('Answered')%> <%= answer.updated_at.iso8601 %><%= _(' by')%> <%= answer.user.name %> - <% end %> \ No newline at end of file + + +
+<% if answer.updated_at.blank? %> + <%= _('Not answered yet') %> +<% else %> + <%= _('Answered')%> <%= answer.updated_at.iso8601 %><%= _(' by')%> <%= answer.user.name %> +<% end %> \ No newline at end of file diff --git a/app/views/phases/edit.html.erb b/app/views/phases/edit.html.erb index 2a564f8..843ea9e 100644 --- a/app/views/phases/edit.html.erb +++ b/app/views/phases/edit.html.erb @@ -120,6 +120,13 @@ + +