Sha256: cc08553db4437b383ecacad4804077f95cd7b1246fca1fe71a73f9a9d14d2234

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 Bytes

Contents

module FormHelper
  def percentage_options
    {spacing: '5', layout: '1:1:1', label_width: '5', max_width: '100', measure: '%'}
  end

  def px_options
    {spacing: '30', layout: '1:1:1', label_width: '160', max_width: '900', measure: 'px'}
  end

  def error_options
    {spacing: '30t', layout: '1:1:1:1', label_width: '160per', max_width: '980px', measure: 'no'}
  end

  def bs_correct_options
    {spacing: '0', layout: '1:1:1', label_width: '1', max_width: '12'}
  end

  def bs_error_options
    {spacing: '30t', layout: '1:1:1:1', label_width: '13', max_width: '15'}
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ext_form-0.1.5 spec/support/form_helper.rb
ext_form-0.1.4 spec/support/form_helper.rb