Move the track list elements to a partial
This commit is contained in:
parent
b6a6a04064
commit
1d144019a4
|
@ -0,0 +1 @@
|
|||
li = track.name
|
|
@ -5,8 +5,7 @@ h1.entry-title = t :home_title, conference: @current_conference.title
|
|||
p = t :what_we_ask
|
||||
|
||||
ul
|
||||
- for track in @current_conference.tracks
|
||||
li = track.name
|
||||
= render partial: 'track', collection: @current_conference.tracks
|
||||
|
||||
.centered.large
|
||||
=> link_to t(:submit_lecture), new_lecture_path, class: 'btn-link btn-link-large'
|
||||
|
|
Loading…
Reference in New Issue