added description field to cfps

closes #1650

done some changes

minor changes

added markdown format to cfp#show

fixed description text  position in proposals

fixed truncated description text in show action

minor changes on non-admin side
This commit is contained in:
ViditChitkara 2017-09-05 18:15:46 +05:30 committed by Stella Rouzi
parent 0e16b5d0ae
commit bd045c2976
11 changed files with 41 additions and 5 deletions

View file

@ -0,0 +1,5 @@
class AddDescriptionToCfps < ActiveRecord::Migration
def change
add_column :cfps, :description, :text
end
end

View file

@ -68,12 +68,13 @@ ActiveRecord::Schema.define(version: 20170924190528) do
end
create_table "cfps", force: :cascade do |t|
t.date "start_date", null: false
t.date "end_date", null: false
t.date "start_date", null: false
t.date "end_date", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.integer "program_id"
t.string "cfp_type"
t.text "description"
end
create_table "comments", force: :cascade do |t|