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

@ -12,6 +12,7 @@
%th Type
%th Start Date
%th End Date
%th Description
%th Days Left
%th Actions
%tbody
@ -24,6 +25,9 @@
= cfp.start_date.strftime('%A, %B %-d. %Y')
%td
= cfp.end_date.strftime('%A, %B %-d. %Y')
%td
%p
= markdown(truncate(cfp.description))
%td
= pluralize(cfp.remaining_days, 'day')
%td