lib/hanami/helpers/form_helper.rb in hanami-helpers-1.1.0.beta1 vs lib/hanami/helpers/form_helper.rb in hanami-helpers-1.1.0.beta2
- old
+ new
@@ -412,10 +412,10 @@
name
else
Form.new(name, url, options.delete(:values))
end
- attributes = { action: form.url, method: form.verb, :'accept-charset' => DEFAULT_CHARSET, id: "#{form.name}-form" }.merge(options)
+ attributes = { action: form.url, method: form.verb, 'accept-charset': DEFAULT_CHARSET, id: "#{form.name}-form" }.merge(options)
FormBuilder.new(form, attributes, self, &blk)
end
# Returns CSRF Protection Token stored in session.
#