Added view and controller for splash page with routes for show
This commit is contained in:
parent
928db0e4f4
commit
c620d63b0f
12 changed files with 21 additions and 30 deletions
4
app/views/conference/show.html.haml
Normal file
4
app/views/conference/show.html.haml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
.row
|
||||
.col-md-12
|
||||
%h1
|
||||
= @conference.title
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
.row
|
||||
.col-md-12
|
||||
%h1
|
||||
= @conference.title
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -24,7 +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"
|
||||
= link_to "View Conference", conference_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