We mark not-required fields as required
#3 Updated by Marek Hulán over 4 years ago
I'm afraid we can just enforce required to be true. Looking to the code I see
required_mark = ' *' if is_required?(f, attr) || options[:required]
I have no existing example since it's in form I'm currently working on for bonding.
<%= text_f f, :attached_to, :help_inline => _("Identifier of the interface to which this interface belongs, e.g. eth1") %>
adding :required => false does not help obviously since is_required?(f, attr) is always true