Sha256: 7e85cf1896bf7fc513d9adf368b7eb1d0adbf93713fa323bf84bbfbb3b9991e0
Contents?: true
Size: 617 Bytes
Versions: 8
Compression:
Stored size: 617 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 "#{ActiveModel::Naming.singular(f.object)}[#{key.to_s}][]", v, :id => "#{ActiveModel::Naming.singular(f.object)}_#{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
8 entries across 8 versions & 1 rubygems