Method: Forme::Form#open
- Defined in:
- lib/forme/form.rb
#open(attr) ⇒ Object
Returns a string representing the opening of the form tag for serializers that support opening tags.
244 245 246 |
# File 'lib/forme/form.rb', line 244 def open(attr) serializer.serialize_open(_tag(:form, attr)) if serializer.respond_to?(:serialize_open) end |