Removes Poll::Question.summary from views

This commit is contained in:
kikito
2017-01-30 18:39:21 +01:00
parent d72dc20987
commit bc763c34c2
4 changed files with 0 additions and 15 deletions

View File

@@ -11,7 +11,6 @@
<thead> <thead>
<tr> <tr>
<th><%= t("admin.polls.show.table_name") %></th> <th><%= t("admin.polls.show.table_name") %></th>
<th><%= t("admin.polls.show.table_summary") %></th>
<th class="text-center"><%= t("admin.polls.show.table_assignment") %></th> <th class="text-center"><%= t("admin.polls.show.table_assignment") %></th>
</tr> </tr>
</thead> </thead>
@@ -21,9 +20,6 @@
<td> <td>
<%= question.title %> <%= question.title %>
</td> </td>
<td>
<%= question.summary %>
</td>
<td class="text-center"> <td class="text-center">
<%= link_to t("admin.polls.show.add_question"), <%= link_to t("admin.polls.show.add_question"),
add_question_admin_poll_path(poll_id: @poll.id, question_id: question.id), add_question_admin_poll_path(poll_id: @poll.id, question_id: question.id),

View File

@@ -20,9 +20,6 @@
<p class="note"><%= t("admin.questions.new.valid_answers_note") %></p> <p class="note"><%= t("admin.questions.new.valid_answers_note") %></p>
<%= f.text_field :valid_answers, label: false %> <%= f.text_field :valid_answers, label: false %>
<%= f.text_area :summary, rows: 4, maxlength: 200 %>
<div class="ckeditor"> <div class="ckeditor">
<%= f.cktext_area :description, <%= f.cktext_area :description,
maxlength: Poll::Question.description_max_length, maxlength: Poll::Question.description_max_length,

View File

@@ -34,12 +34,6 @@
</span> </span>
<% end %> <% end %>
<p>
<strong><%= t("admin.questions.show.summary") %></strong>
<br>
<%= @question.summary %>
</p>
<p> <p>
<strong><%= t("admin.questions.show.description") %></strong> <strong><%= t("admin.questions.show.description") %></strong>
<br> <br>

View File

@@ -12,8 +12,6 @@
<%= link_to t('poll_questions.show.original_proposal'), @question.proposal %> <%= link_to t('poll_questions.show.original_proposal'), @question.proposal %>
</div> </div>
<% end %> <% end %>
<p><%= @question.summary %></p>
</div> </div>
<div class="small-12 medium-3 column info"> <div class="small-12 medium-3 column info">