diff --git a/app/views/conference/_footer.html.haml b/app/views/conference/_footer.html.haml index e27eb76e..5b24fd92 100644 --- a/app/views/conference/_footer.html.haml +++ b/app/views/conference/_footer.html.haml @@ -1,4 +1,4 @@ -%div.scroll-top-wrapper +.scroll-top-wrapper = link_to "#banner", class: "smoothscroll" do %i.fa.fa-2x.fa-arrow-circle-up diff --git a/app/views/conference/_sponsors.html.haml b/app/views/conference/_sponsors.html.haml index dd202657..aa7921b5 100644 --- a/app/views/conference/_sponsors.html.haml +++ b/app/views/conference/_sponsors.html.haml @@ -15,7 +15,7 @@ %a{ href: '#', data: { toggle: 'modal', target: "#modal_#{sponsor.id}" } } = image_tag get_logo(sponsor), class: "img-responsive img-sponsor img-sponsor-#{sponsorship_level.position}" - %div.modal.fade{ id: "modal_#{sponsor.id}" } + .modal.fade{ id: "modal_#{sponsor.id}" } .modal-dialog .modal-content .modal-header diff --git a/app/views/shared/_media_items.html.haml b/app/views/shared/_media_items.html.haml index bf97c15d..6bd882d7 100644 --- a/app/views/shared/_media_items.html.haml +++ b/app/views/shared/_media_items.html.haml @@ -16,10 +16,10 @@ .tab-content - commercials.each.with_index(1) do |commercial, index| - if index == 1 - %div.tab-pane.active{'id'=>"#{index}"} + .tab-pane.active{'id'=>"#{index}"} .flexvideo = render partial: 'shared/media_item', locals: { commercial: commercial } - else - %div.tab-pane{'id'=>"#{index}"} + .tab-pane{'id'=>"#{index}"} .flexvideo - = render partial: 'shared/media_item', locals: { commercial: commercial } \ No newline at end of file + = render partial: 'shared/media_item', locals: { commercial: commercial }