Sha256: 362600210ba34b5d9f01d6dbf6025eedb15c31ae31acbf7c9f7b988834104298
Contents?: true
Size: 879 Bytes
Versions: 8
Compression:
Stored size: 879 Bytes
Contents
- if builder.options[:html] && builder.options[:html][:class] =~ /form-horizontal/ .control-group{:class => ('error' if error_messages.present?)} - if label_text.present? = builder.label(method, label_text, :class => 'control-label') .controls - if prepend.present? .input-prepend %span.add-on= prepend = field - elsif append.present? .input-append = field %span.add-on= append - else = field - if error_messages.present? %span.help-inline= error_messages - if help_block.present? %p.help-block= help_block - else - if label_text.present? = builder.label(method, label_text, :class => 'control-label') = field - if error_messages.present? %span.help-inline= error_messages - if help_block.present? %p.help-block= help_block
Version data entries
8 entries across 8 versions & 1 rubygems