Class: Bureaucrat::Widgets::TextInput

Inherits:
Input show all
Defined in:
lib/bureaucrat/widgets.rb

Overview

Class for text inputs

Constant Summary

Constants included from Utils

Utils::ESCAPES

Instance Attribute Summary

Attributes inherited from Widget

#attrs, #is_required

Instance Method Summary collapse

Methods inherited from Input

#render

Methods inherited from Widget

#build_attrs, #has_changed?, #hidden?, id_for_label, #initialize, #initialize_copy, #needs_multipart?, #render, #value_from_formdata

Methods included from Utils

#blank_value?, #conditional_escape, #escape, #flatatt, #format_string, #make_bool, #make_float, #mark_safe, #pretty_name

Constructor Details

This class inherits a constructor from Bureaucrat::Widgets::Widget

Instance Method Details

#input_typeObject



72
73
74
# File 'lib/bureaucrat/widgets.rb', line 72

def input_type
  'text'
end