This commit is contained in:
differentreality 2013-09-02 16:38:43 +03:00
parent a0dc62b125
commit e6b7fbceb5
2 changed files with 2 additions and 2 deletions

View file

@ -9,6 +9,6 @@
= f.input :hard_deadline, :as => :string, :input_html => { :id => "cfp-hard-datepicker", :readonly => "readonly" }
= f.input :description, :hint => "Welcome text for the Call for Papers"
= f.input :schedule_changes
= f.input :rating, :input_html => {:value => 1}, :hint => "Enter the number of different rating levels you want to have for voting on proposals."
= f.input :rating, :hint => "Enter the number of different rating levels you want to have for voting on proposals."
= f.input :rating_desc, :label => "Rating Description", :hint => "Enter comments about voting process.", :input_html => {:value => "1 is for 'I don't like this proposal',\n2 is for 'I am ok with this proposal.',\n3 is for 'I love this proposal!'", :rows => 5, :class => "span6"}
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}

View file

@ -1,5 +1,5 @@
class AddRatingToCallForPapers < ActiveRecord::Migration
def change
add_column :call_for_papers, :rating, :integer
add_column :call_for_papers, :rating, :integer, :null => 1
end
end