Sha256: 4cff70346be2b914a9fe58561b98e11da45f6beae0810b8970bea59404db27b5

Contents?: true

Size: 407 Bytes

Versions: 2

Compression:

Stored size: 407 Bytes

Contents

<div>
  <% required = render_req && record.required?(key) %>
  <% lbl = get_label(key) %>
  <% single = f.object.class.unique?(key) %>

  <% opts = { label: lbl, required: required } %>
  <% opts = opts.merge(as: :multi_value) unless single %>

  <%= f.input key, opts %>

  <%= render partial: "records/edit_fields/suffix", locals: { key: key, index: index, single: f.object.class.unique?(key) } %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-5.0.0 app/views/records/edit_fields/_default.html.erb
sufia-5.0.0.rc1 app/views/records/edit_fields/_default.html.erb