Create Splash Page using existing routes as Conference#Show
This commit is contained in:
parent
5f6ab4f7ee
commit
1c152c87ab
6 changed files with 90 additions and 49 deletions
|
|
@ -20,6 +20,8 @@
|
|||
= simple_format(conference.venue.description, class: 'lead')
|
||||
.col-md-2
|
||||
.btn-group-vertical
|
||||
- if controller.class.name != "ConferenceController"
|
||||
= link_to "View Conference", conference_path(conference.short_title), :class =>"btn btn-default"
|
||||
- if conference.registration_open?
|
||||
- if conference.user_registered?(current_user)
|
||||
= link_to "Modify Registration", register_conference_path(conference.short_title), :class =>"btn btn-default"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue