Sha256: 318992e780dd174cc1a5bacbca968a45bdb186f6cef30d062020e3775a127cc4

Contents?: true

Size: 684 Bytes

Versions: 1

Compression:

Stored size: 684 Bytes

Contents

<div class="form-group <%= form.error_class field_name %>">
  <%= form.label field_name, metadata[:label] %>
  <div class="row">
    <div class="col-xs-6 col-sm-3">
      <div class="input-group">
        <span class="input-group-addon">X</span>
        <%= form.number_field field_name, value: value.try(:first), multiple: true, class: 'form-control' %>
      </div>
    </div>
    <div class="col-xs-6 col-sm-3">
      <div class="input-group">
        <span class="input-group-addon">Y</span>
        <%= form.number_field field_name, value: value.try(:last), multiple: true, class: 'form-control' %>
      </div>
    </div>
  </div>
  <%= form.error_messages field_name %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wallaby-4.1.6 app/views/wallaby/resources/form/_point.html.erb