Removes column hard_deadline from call for papers
This commit is contained in:
parent
25a1c116fd
commit
c75471c0e4
7 changed files with 13 additions and 17 deletions
|
|
@ -1,10 +1,10 @@
|
|||
class CallForPapers < ActiveRecord::Base
|
||||
attr_accessible :start_date, :end_date, :hard_deadline,
|
||||
attr_accessible :start_date, :end_date,
|
||||
:description, :schedule_changes, :rating,
|
||||
:schedule_public
|
||||
belongs_to :conference
|
||||
|
||||
validates_presence_of :start_date, :end_date, :hard_deadline
|
||||
validates_presence_of :start_date, :end_date
|
||||
validates :rating, :numericality => { :greater_than_or_equal_to => 0, :less_than_or_equal_to => 10 }
|
||||
|
||||
##
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
= semantic_form_for(@cfp, :url => admin_conference_callforpapers_path(@conference.short_title),:html => {:multipart => true}) do |f|
|
||||
= f.input :start_date, :as => :string, :input_html => { :id => "conference-start-datepicker", :readonly => "readonly" }
|
||||
= f.input :end_date, :as => :string, :input_html => { :id => "conference-end-datepicker", :readonly => "readonly" }
|
||||
= 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 :schedule_public
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue