Sha256: 353869656254d87c8d4df1148cf6ba9dfa6271d661868d33f0ba5698e133dcb4

Contents?: true

Size: 573 Bytes

Versions: 3

Compression:

Stored size: 573 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, single: f.object.class.unique?(key) } %>
      </div>
      <div id="additional_<%= key %>_elements"></div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sufia-4.3.1 app/views/records/edit_fields/_default.html.erb
sufia-4.2.0 app/views/records/edit_fields/_default.html.erb
sufia-4.1.0 app/views/records/edit_fields/_default.html.erb