Use table for form fields in views

This commit is contained in:
Thibault Jouan
2011-09-07 21:13:20 +00:00
parent 1057cab009
commit acaa9fc19a
4 changed files with 45 additions and 20 deletions

View File

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