Remove link from splash page edit subtitle, if splashpage is not created.

This commit is contained in:
dpliakos 2018-10-26 05:56:48 +03:00 committed by James Mason
parent b11001cdba
commit 20415f00e1

View file

@ -3,9 +3,13 @@
.page-header .page-header
%h1 Splashpage %h1 Splashpage
%p.text-muted %p.text-muted
Build a - if @splashpage
= link_to "splash page", conference_path(@conference.short_title) View the
with all the information for your conference = link_to "splash page", conference_path(@conference.short_title)
- else
Build a splashpage with all the information for your conference
- if @splashpage - if @splashpage
.row .row
.col-md-12 .col-md-12