Class: Skyline::Editors::Heading

Inherits:
Editor
  • Object
show all
Defined in:
app/helpers/skyline/editors/heading.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/heading.rb', line 2

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