Sha256: 2f8a2d103b344b06288ffb70383b420f330fcc650992e2926ef4e2656f319c03
Contents?: true
Size: 1.18 KB
Versions: 4
Compression:
Stored size: 1.18 KB
Contents
<fieldset class="note_relation" id="<%= assoc_klass.name.to_relation_name %>_data"> <legend><%= assoc_klass.model_name.human(:count => 2) %></legend> <ol> <% note = owner_klass.send(assoc_klass.name.to_relation_name).last %> <li class="inline_note"> <%= f.fields_for assoc_klass.name.to_relation_name, note do |note_form| %> <%= note_form.text_area :value, :rows => 4 %> <%= note_form.select :language, Iqvoc.note_languages.map { |l| [l, l]}, :label => t("txt.common.language"), :include_blank => false %> <%= note_form.hidden_field :position %> <%= note_form.fields_for :annotations do |na| %> <%= na.hidden_field :namespace %> <%= na.hidden_field :predicate %> <%= na.hidden_field :value %> <% end %> <%= f.form_group :note_annotations, :label => {:text => Note::Annotated::Base.model_name.human(:count => 2)} do %> <dl class="note_annotations"> <% note.annotations.each do |na| %> <dt><%= na.identifier %></dt> <dd><%= na.value %></dd> <% end %> </dl> <% end %> <% end %> </li> </ol> </fieldset>
Version data entries
4 entries across 4 versions & 1 rubygems