Sha256: 05667bd1aeaa429610f871311e80e687a627de447dcdb103ed9af799f53b973f
Contents?: true
Size: 759 Bytes
Versions: 4
Compression:
Stored size: 759 Bytes
Contents
<fieldset class="note_relation" id="notations_data"> <legend><%= Notation::Base.model_name.human(:count => 2) %></legend> <ol> <% owner_klass.notations.each do |notation| %> <%= content_tag(:li, :class => "inline_note #{" new" if notation.new_record?}") do %> <%= f.fields_for :notations, notation do |note_form| %> <%= note_form.text_field :value %> <%= note_form.text_field :data_type %> <% unless notation.new_record? %> <%= note_form.check_box :"_destroy", :label => t("txt.common.delete") %> <% end %> <% end %> <% end %> <% end %> </ol> <input type="button" value="<%= t("txt.common.add_note") %>" class="btn btn-outline-secondary pull-right"> </fieldset>
Version data entries
4 entries across 4 versions & 1 rubygems