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
%h1 Splashpage
%p.text-muted
Build a
= link_to "splash page", conference_path(@conference.short_title)
with all the information for your conference
- if @splashpage
View the
= link_to "splash page", conference_path(@conference.short_title)
- else
Build a splashpage with all the information for your conference
- if @splashpage
.row
.col-md-12