Sha256: 0b3b2dcff33faef50538cb1fe0096ff378b3e5382173b2b6c26b5e62360c3c06
Contents?: true
Size: 1.05 KB
Versions: 11
Compression:
Stored size: 1.05 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 & 2 rubygems