Sha256: a85503fc5f581a1edc83ee5ea6ff1fcd3788254194ecbadc7755689c02fc9e05
Contents?: true
Size: 749 Bytes
Versions: 16
Compression:
Stored size: 749 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-default pull-right"> </fieldset>
Version data entries
16 entries across 16 versions & 1 rubygems