Sha256: aa8f9d051e97618c2a2334fc5a0c6d79b99006d14a7577bc694e19ddeb97ed4c
Contents?: true
Size: 1.04 KB
Versions: 11
Compression:
Stored size: 1.04 KB
Contents
<div class="field"> <%= f.label :subject -%><br /> <%= f.fields_for :subjects do |subject_form| %> <%= subject_form.select(:subject_heading_type_id, @subject_heading_types.collect{|s| [s.display_name.localize, s.id]}) %> <%= subject_form.text_field :term %> <%= subject_form.select(:subject_type_id, @subject_types.collect{|s| [s.display_name.localize, s.id]}) %> <%= subject_form.link_to_remove t('page.remove'), confirm: t('page.are_you_sure') %> <% end %> <p><%= f.link_to_add t('page.add'), :subjects %></p> </div> <div class="field"> <%= f.label :classification -%><br /> <%= f.fields_for :classifications do |classification_form| %> <%= classification_form.select(:classification_type_id, @classification_types.collect{|c| [c.display_name.localize, c.id]}) %> <%= classification_form.text_field :category %> <%= classification_form.link_to_remove t('page.remove'), confirm: t('page.are_you_sure') %> <% end %> <p><%= f.link_to_add t('page.add'), :classifications %></p> </div>
Version data entries
11 entries across 11 versions & 1 rubygems