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