Fix indentation in events#show view that caused a condition to be skipped

This commit is contained in:
Petko Bordjukov 2019-06-17 14:23:56 +03:00
parent f724e58800
commit cbd69fab5a
1 changed files with 51 additions and 50 deletions

View File

@ -94,7 +94,7 @@
- if @conference.has_vote_results? or @conference.has_voting_endpoint?
.row
.row
.col-xs-12
h2
- if @conference.start_date.future?
@ -141,6 +141,7 @@
tr
td colspan="20"
= t 'management.conferences.vote_results.vote_data_never_updated'
= link_to update_vote_data_management_conference_path(@conference), method: :patch, class: ['btn', 'btn-primary'] do
= icon :refresh, t('management.conferences.vote_results.fetch_vote_results')
- if @conference.has_vote_results?
.panel-footer.text-right