Fixed error in booths#show when there is no logo.
Added check for logo picture in booths#show Fixed #1916
This commit is contained in:
parent
96b450224e
commit
304ab01874
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
%h3
|
%h3
|
||||||
= image_tag(@booth.picture.thumb.url, size: '20%', alt: '')
|
- if @booth.logo_link
|
||||||
|
= image_tag( @booth.picture.thumb.url, size: '20%', alt: '')
|
||||||
= @booth.title
|
= @booth.title
|
||||||
.btn-group.pull-right
|
.btn-group.pull-right
|
||||||
= link_to 'Edit', edit_admin_conference_booth_path(@conference.short_title, @booth), class: 'btn btn-mini btn-primary'
|
= link_to 'Edit', edit_admin_conference_booth_path(@conference.short_title, @booth), class: 'btn btn-mini btn-primary'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue