diff --git a/app/views/home/_track.html.slim b/app/views/home/_track.html.slim new file mode 100644 index 0000000..2283ac2 --- /dev/null +++ b/app/views/home/_track.html.slim @@ -0,0 +1 @@ +li = track.name diff --git a/app/views/home/index.html.slim b/app/views/home/index.html.slim index 9cbece4..470ef05 100644 --- a/app/views/home/index.html.slim +++ b/app/views/home/index.html.slim @@ -2,11 +2,10 @@ h1.entry-title = t :home_title, conference: @current_conference.title = simple_format @current_conference.description -p =t :what_we_ask +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'