Sha256: 0f9c08671b281de023720e654d478936566fef40e15602fa717411aa5c5be2cb

Contents?: true

Size: 536 Bytes

Versions: 3

Compression:

Stored size: 536 Bytes

Contents

      <div <%  if index == 0 %> id="additional_<%= key.to_s %>_clone" <% end %>>
        <% required = render_req && (index == 0) && record.required?(key) %>
        <%= f.text_field :title, name: "#{ActiveModel::Naming.singular(f.object)}[#{key.to_s}][]", id: "#{ActiveModel::Naming.singular(f.object)}_#{key.to_s}", value: v, class: "input-large", required: required  %>
        <%= render partial: "records/edit_fields/suffix", locals: { key: key, index: index } %>
      </div>
      <div id="additional_<%= key %>_elements"></div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sufia-4.0.1 app/views/records/edit_fields/_default.html.erb
sufia-4.0.0 app/views/records/edit_fields/_default.html.erb
sufia-4.0.0.rc2 app/views/records/edit_fields/_default.html.erb