app/views/partials/notation/_edit_base.html.erb

Summary

Maintainability
Test Coverage
<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>