Sha256: 252f8c589ce64caea065a0311faacac10c9816f574f23daab609d5445c4902b6

Contents?: true

Size: 613 Bytes

Versions: 2

Compression:

Stored size: 613 Bytes

Contents

      <div class="controls" <%  if index == 0 %> id="additional_<%= key.to_s %>_clone" <% end %>>
        <% required = render_req && (index == 0) && f.object.required?(key) %>
        <%= text_field_tag "#{f.object.class.model_name.underscore}[#{key.to_s}][]", v,  :id => "#{f.object.class.model_name.underscore}_#{key.to_s}", :class => "input-large", :required => required  %>
        <% unless f.object.class.unique?(key) %>
          <%= render :partial=>"records/edit_fields/suffix", :locals=>{key: key, index: index} %>
        <% end %>
      </div>
      <div id="additional_<%= key %>_elements"></div>


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydra-editor-0.0.4 app/views/records/edit_fields/_default.html.erb
hydra-editor-0.0.3 app/views/records/edit_fields/_default.html.erb