Class: Skyline::Editors::TextField

Inherits:
Editor
  • Object
show all
Defined in:
app/helpers/skyline/editors/text_field.rb

Instance Method Summary collapse

Instance Method Details

#output_without_errorsObject



2
3
4
5
6
7
8
9
10
11
# File 'app/helpers/skyline/editors/text_field.rb', line 2

def output_without_errors
 text_field_tag(
   input_name(self.attribute_names), 
   field.value(record),
   :size => 40,
   :id => input_id(self.attribute_names),
   :style => params_to_styles(field.style),
   :class => "full"
 )
end