Issue #649: Wrong days remaining label when submitting a new proposal
This commit is contained in:
parent
124d275a09
commit
1de8f979cd
4 changed files with 23 additions and 18 deletions
|
|
@ -19,8 +19,7 @@
|
|||
%dt
|
||||
Days Left:
|
||||
%dd
|
||||
- days = (@call_for_paper.end_date - Date.today).to_i
|
||||
= pluralize(days, 'days')
|
||||
= pluralize(@call_for_paper.remaining_days, 'day')
|
||||
%dt
|
||||
Event types:
|
||||
%dd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue