removes question column from poll_questions

This commit is contained in:
rgarcia
2016-11-22 11:41:10 +01:00
parent e12f183775
commit ceebae644f
7 changed files with 13 additions and 8 deletions

View File

@@ -40,7 +40,6 @@ class Poll::Question < ActiveRecord::Base
self.title = proposal.title
self.description = proposal.description
self.summary = proposal.summary
self.question = proposal.question
self.all_geozones = true
self.valid_answers = I18n.t('poll_questions.default_valid_answers')
end

View File

@@ -9,8 +9,6 @@
<div class="small-12 column">
<%= f.text_field :title, maxlength: Poll::Question.title_max_length %>
<%= f.text_field :question, maxlength: Poll::Question.question_max_length %>
<%= f.text_field :valid_answers %>
<%= f.text_area :summary, rows: 4, maxlength: 200 %>