Sha256: a8e94a1605ac543e1551dc9a3fe35dc6b7cb5c166c4e483b4c4ede1141e53aa1

Contents?: true

Size: 695 Bytes

Versions: 34

Compression:

Stored size: 695 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_field field_name, class: 'form-control' %>
  <%= form.error_messages field_name %>
  <%= hint_of metadata %>
</div>

Version data entries

34 entries across 17 versions & 1 rubygems

Version Path
wallaby-8.0.0 app/views/wallaby/resources/form/_path.html.erb
wallaby-8.0.0 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-7.0.0 app/views/wallaby/resources/form/_path.html.erb
wallaby-7.0.0 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/form/_path.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/form/_path.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-6.1.6 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-6.1.6 app/views/wallaby/resources/form/_path.html.erb
wallaby-6.1.5 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-6.1.5 app/views/wallaby/resources/form/_path.html.erb
wallaby-6.1.4 app/views/wallaby/resources/form/_path.html.erb
wallaby-6.1.4 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-6.1.3 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-6.1.3 app/views/wallaby/resources/form/_path.html.erb
wallaby-6.1.2 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-6.1.2 app/views/wallaby/resources/form/_path.html.erb
wallaby-6.1.1 app/views/wallaby/resources/form/_polygon.html.erb
wallaby-6.1.1 app/views/wallaby/resources/form/_path.html.erb