lib/formtastic/inputs/hidden_input.rb in formtastic-4.0.0 vs lib/formtastic/inputs/hidden_input.rb in formtastic-5.0.0
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
module Formtastic
module Inputs
# Outputs a simple `<input type="hidden">` wrapped in the standard `<li>` wrapper. This is
# provided for situations where a hidden field needs to be rendered in the flow of a form with
@@ -40,18 +41,18 @@
builder.hidden_field(method, input_html_options)
end
end
def error_html
- ""
+ +""
end
def errors?
false
end
def hint_html
- ""
+ +""
end
def hint?
false
end