Sha256: e56f6263fa4fa3d56e9edecb639e1154a79cb9b118d28a449d5a95f40ef01c4b
Contents?: true
Size: 774 Bytes
Versions: 143
Compression:
Stored size: 774 Bytes
Contents
<%# The following params are the variables that can be used in this partial. @param form [Wallaby::FormBuilder] custom form object that adds a few helper methods and delegate missing methods to the view @param object [Wallaby::ResourceDecorator] decorator instance which wraps the resource (e.g. ActiveRecord) instance @param field_name [String] name of the field @param value [Object] value of the field @param metadata [Hash] metadata of the field %> <div class="form-group <%= form.error_class field_name %>"> <%= form.label field_name, metadata[:label] %> <div class="row"> <div class="col-6 col-sm-4"> <%= form.number_field field_name, class: 'form-control' %> </div> </div> <%= form.error_messages field_name %> <%= hint_of metadata %> </div>
Version data entries
143 entries across 13 versions & 1 rubygems