diff --git a/app/views/admin/poll/questions/_form.html.erb b/app/views/admin/poll/questions/_form.html.erb index 56b7ec93f..5345a64b1 100644 --- a/app/views/admin/poll/questions/_form.html.erb +++ b/app/views/admin/poll/questions/_form.html.erb @@ -4,34 +4,30 @@ <%= f.hidden_field :proposal_id %> -
<%= t("proposals.form.proposal_video_url_note") %>
- <%= f.text_field :video_url, placeholder: t("proposals.form.proposal_video_url"), label: false, - aria: {describedby: "video-url-help-text"} %> -<%= t("proposals.form.proposal_video_url_note") %>
+ <%= f.text_field :video_url, placeholder: t("proposals.form.proposal_video_url"), label: false, + aria: {describedby: "video-url-help-text"} %> +
+ <%= t("admin.questions.show.title") %>
+
+ <%= @question.title %>
+
+ <%= t("admin.questions.show.author") %>
+
+ <%= link_to @question.author.name, user_path(@question.author) %>
+
@@ -17,57 +26,50 @@ <%= link_to @question.proposal.title, proposal_path(@question.proposal) %>
<% end %> - -
- <%= t("admin.questions.show.author") %>
-
- <%= link_to @question.author.name, user_path(@question.author) %>
-
| - <%= t('admin.questions.show.valid_answers') %> - | -- <%= link_to t("admin.questions.show.add_answer"), - new_admin_question_answer_path(@question), - class: "button hollow float-right" %> - | -|
|---|---|---|
| <%= t("admin.questions.show.answers.title") %> | -<%= t("admin.questions.show.answers.description") %> | -Imágenes | -
| <%= answer.title %> | -<%= answer.description %> | -- <%= link_to "Lista de imágenes", - admin_answer_images_path(answer) %> - | -
- <%= t("admin.questions.show.video_url") %>
-
- <%= @question.video_url %>
-
- <%= t("admin.questions.show.documents") %>
-
- <%= @question.documents.first.title %>
-
| + <%= t('admin.questions.show.valid_answers') %> + <%= link_to t("admin.questions.show.add_answer"), + new_admin_question_answer_path(@question), + class: "button hollow float-right" %> + | +||
|---|---|---|
| <%= t("admin.questions.show.answers.title") %> | +<%= t("admin.questions.show.answers.description") %> | +<%= t("admin.questions.show.answers.images") %> | +
| <%= answer.title %> | +<%= answer.description %> | +
+ (<%= answer.images.count %>) + <%= link_to t("admin.questions.show.answers.images_list"), + admin_answer_images_path(answer) %> + |
+
+ <%= t("admin.questions.show.video_url") %>
+
+ <%= @question.video_url %>
+
+ <%= t("admin.questions.show.documents") %>
+
+ <%= @question.documents.first.title %>
+