erwin
unread,May 14, 2012, 11:59:40 AM5/14/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SimpleForm
It seems I cannot style a component directly in the initializer
( useful in this case to align inline labels with input fields
b.wrapper :tag => 'div', :class => 'controls' do |ba|
ba.use :label, :wrap_with => { :tag => :span, :class =>
'left' , :style => 'padding-top: 5px;' }
the generated span tag get only the class 'left'
so I guess I have to define a specific class ? is that true ?
thanks for feedback