Improve readability in some views by adding empty lines
This commit is contained in:
parent
a7451c5302
commit
c764265af2
@ -1,7 +1,9 @@
|
|||||||
= link_to 'Add a track', new_track_path
|
= link_to 'Add a track', new_track_path
|
||||||
|
|
||||||
%ul
|
%ul
|
||||||
- @playlists.each do |p|
|
- @playlists.each do |p|
|
||||||
%li= p.name
|
%li= p.name
|
||||||
|
|
||||||
%ul
|
%ul
|
||||||
- @tracks.each do |t|
|
- @tracks.each do |t|
|
||||||
%li= t.name
|
%li= t.name
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
= link_to 'Create playlist', new_playlist_path
|
= link_to 'Create playlist', new_playlist_path
|
||||||
|
|
||||||
%ul
|
%ul
|
||||||
- @playlists.each do |p|
|
- @playlists.each do |p|
|
||||||
%li
|
%li
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
%h1= @track.name
|
%h1= @track.name
|
||||||
|
|
||||||
- if @track.sound?
|
- if @track.sound?
|
||||||
%audio{:src => sound_path(@track.sound), :controls => true, :autoplay => true}
|
%audio{:src => sound_path(@track.sound), :controls => true, :autoplay => true}
|
||||||
Your browser does not support the audio element
|
Your browser does not support the audio element
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
%ul
|
%ul
|
||||||
- @user.errors.full_messages.each do |m|
|
- @user.errors.full_messages.each do |m|
|
||||||
%li= m
|
%li= m
|
||||||
|
|
||||||
%table
|
%table
|
||||||
%tbody
|
%tbody
|
||||||
%tr
|
%tr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user