Leave space between the CFP button and the actions

This commit is contained in:
Petko Bordjukov 2016-10-11 03:14:36 +03:00
parent ed16969ea1
commit 4161e796ab
1 changed files with 6 additions and 6 deletions

View File

@ -6,13 +6,13 @@
h1.page-header h1.page-header
= @conference.title = @conference.title
.pull-right .pull-right
- if @conference.call_for_participation.in_progress?
= link_to management_conference_call_for_participation_path(@conference), method: :delete, class: 'btn btn-sm btn-success'
= icon 'dot-circle-o', t('.cfp_status'), class: 'fa-fw'
- else
= link_to management_conference_call_for_participation_path(@conference), method: :post, class: 'btn btn-sm btn-primary'
= icon 'circle-o', t('.cfp_status'), class: 'fa-fw'
.btn-group.btn-group-sm< .btn-group.btn-group-sm<
- if @conference.call_for_participation.in_progress?
= link_to management_conference_call_for_participation_path(@conference), method: :delete, class: 'btn btn-success'
= icon 'dot-circle-o', t('.cfp_status'), class: 'fa-fw'
- else
= link_to management_conference_call_for_participation_path(@conference), method: :post, class: 'btn btn-primary'
= icon 'circle-o', t('.cfp_status'), class: 'fa-fw'
= link_to edit_management_conference_path(@conference), title: t('actions.edit.button', model: Conference.model_name.human), class: 'btn btn-warning' = link_to edit_management_conference_path(@conference), title: t('actions.edit.button', model: Conference.model_name.human), class: 'btn btn-warning'
= icon :edit = icon :edit
= link_to management_conference_path(@conference), title: t('actions.destroy.button', model: Conference.model_name.human), class: ['btn', 'btn-danger', @conference.events.any? ? 'disabled' : nil], method: :delete, data: {confirm: t('actions.are_you_sure')} = link_to management_conference_path(@conference), title: t('actions.destroy.button', model: Conference.model_name.human), class: ['btn', 'btn-danger', @conference.events.any? ? 'disabled' : nil], method: :delete, data: {confirm: t('actions.are_you_sure')}