Move the track list elements to a partial

This commit is contained in:
Petko Bordjukov 2014-09-02 11:28:15 +03:00
parent b6a6a04064
commit 1d144019a4
2 changed files with 3 additions and 3 deletions

View File

@ -0,0 +1 @@
li = track.name

View File

@ -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'