Change css id #publicorprivate to a class id. Upate splashpages/show.html.haml

This commit is contained in:
Tyrant Davis 2018-08-07 14:44:32 -05:00 committed by James Mason
parent d3ce401cba
commit 1333641a5f
2 changed files with 3 additions and 3 deletions

View file

@ -175,6 +175,6 @@
} }
} }
#publicorprivate { .publicorprivate {
padding-top: 30px; padding-top: 30px;
} }

View file

@ -50,9 +50,9 @@
= link_to 'Delete', admin_conference_splashpage_path, = link_to 'Delete', admin_conference_splashpage_path,
method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger' method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-danger'
- if @conference.splashpage && @conference.splashpage.public - if @conference.splashpage && @conference.splashpage.public
%p.text-muted#publicorprivate Public %p.text-muted.publicorprivate Public
- else - else
%p.text-muted#publicorprivate Private %p.text-muted.publicorprivate Private
- else - else
.row .row
.col-md-12.text-right .col-md-12.text-right