Removes Poll::Question.summary from views
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -21,9 +20,6 @@
|
||||
<td>
|
||||
<%= question.title %>
|
||||
</td>
|
||||
<td>
|
||||
<%= question.summary %>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<%= link_to t("admin.polls.show.add_question"),
|
||||
add_question_admin_poll_path(poll_id: @poll.id, question_id: question.id),
|
||||
|
||||
@@ -20,9 +20,6 @@
|
||||
<p class="note"><%= t("admin.questions.new.valid_answers_note") %></p>
|
||||
<%= f.text_field :valid_answers, label: false %>
|
||||
|
||||
|
||||
<%= f.text_area :summary, rows: 4, maxlength: 200 %>
|
||||
|
||||
<div class="ckeditor">
|
||||
<%= f.cktext_area :description,
|
||||
maxlength: Poll::Question.description_max_length,
|
||||
|
||||
@@ -34,12 +34,6 @@
|
||||
</span>
|
||||
<% end %>
|
||||
|
||||
<p>
|
||||
<strong><%= t("admin.questions.show.summary") %></strong>
|
||||
<br>
|
||||
<%= @question.summary %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong><%= t("admin.questions.show.description") %></strong>
|
||||
<br>
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
<%= link_to t('poll_questions.show.original_proposal'), @question.proposal %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<p><%= @question.summary %></p>
|
||||
</div>
|
||||
|
||||
<div class="small-12 medium-3 column info">
|
||||
|
||||
Reference in New Issue
Block a user