Class: Formular::Element::Bootstrap3::Input

Inherits:
Input
  • Object
show all
Includes:
ColumnControl, Modules::Wrapped
Defined in:
lib/formular/element/bootstrap3.rb

Overview

class Hint

Constant Summary

Constants included from HtmlEscape

HtmlEscape::HTML_ESCAPE, HtmlEscape::HTML_ESCAPE_ONCE_REGEXP, HtmlEscape::HTML_ESCAPE_REGEXP

Instance Method Summary collapse

Methods included from ColumnControl

#inline_column?, #inline_wrapper_class, #stacked_column?

Methods included from Module

included

Methods included from HtmlEscape

#html_escape, #html_escape_once

Instance Method Details

#input_classObject



74
75
76
# File 'lib/formular/element/bootstrap3.rb', line 74

def input_class
  'form-control' unless options[:type].to_s == 'file'
end