Linking the conferences on home page to their splash page
This commit is contained in:
parent
4e395a0d7a
commit
cb8f4ccd2e
12 changed files with 62 additions and 1 deletions
11
app/views/conferences/show.html.haml
Normal file
11
app/views/conferences/show.html.haml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
.row
|
||||
.col-md-12
|
||||
%h1
|
||||
= @conference.title
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -24,6 +24,7 @@
|
|||
= simple_format(conference.venue.description, class: 'lead')
|
||||
.col-md-2
|
||||
.btn-group-vertical
|
||||
= link_to "View Conference", conferences_show_path(conference.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