Use table for form fields in views
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
= form_for @playlist do |f|
|
||||
= f.label :name
|
||||
= f.text_field :name
|
||||
= f.submit submit_text
|
||||
%table
|
||||
%tbody
|
||||
%tr
|
||||
%th= f.label :name
|
||||
%td= f.text_field :name
|
||||
%tfoot
|
||||
%tr
|
||||
%td= f.submit submit_text
|
||||
|
Reference in New Issue
Block a user