Sha256: c993b43c6eb53af48249a02763485e132fd44e4841f83d1850185defd54abe34
Contents?: true
Size: 694 Bytes
Versions: 17
Compression:
Stored size: 694 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] %> <%= form.text_area field_name, class: 'form-control' %> <%= form.error_messages field_name %> <%= hint_of metadata %> </div>
Version data entries
17 entries across 17 versions & 1 rubygems