Fix call for papers button alignment

This commit is contained in:
Gopesh Tulsyan 2014-06-25 15:24:07 +05:30
parent 351f0d891f
commit ee4208fa1e

View file

@ -17,21 +17,23 @@
- if @conference.call_for_papers.end_date.to_time < Time.now - if @conference.call_for_papers.end_date.to_time < Time.now
%p Today is the last day. Hurry Up! %p Today is the last day. Hurry Up!
- else - else
%div.row.col-md-6.col-md-offset-4 .row
%div.col-md-2 .col-md-6.col-md-offset-4
%h2#days %div.col-md-2
%p Days %h2#days
%div.col-md-2 %p Days
%h2#hours %div.col-md-2
%p Hours %h2#hours
%div.col-md-2 %p Hours
%h2#minutes %div.col-md-2
%p Minutes %h2#minutes
%div.col-md-2 %p Minutes
%h2#seconds %div.col-md-2
%p Seconds %h2#seconds
%p %p Seconds
= link_to "Submit Your Proposals Today", conference_proposal_index_path(@conference.short_title), class: 'btn btn-info', target: '_blank' .row
%p
= link_to "Submit Your Proposals Today", conference_proposal_index_path(@conference.short_title), class: 'btn btn-info', target: '_blank'
-else -else
%h3 Deadline has ended %h3 Deadline has ended