24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
<div class="form-row">
|
|
<div class="col-sm-6">
|
|
<%= form.collection_select :applicable_medium_id, ApplicableMedium.all.reverse, :id, :label, { label: "Applicable Media", include_blank: true }, class: "form-control custom-select" %>
|
|
<%= form.text_field :applicable_medium_text, hide_label: true, placeholder: "Describe other applicable media" %>
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
<%= form.collection_select :territory_id, Territory.all.reverse, :id, :label, { include_blank: true }, class: "form-control custom-select" %>
|
|
<%= form.text_field :territory_text, hide_label: true, placeholder: "Describe other territory" %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<div class="col-sm-6">
|
|
<%= form.collection_select :term_id, Term.all.reverse, :id, :label, { include_blank: true }, class: "form-control custom-select" %>
|
|
<%= form.text_field :term_text, hide_label: true, placeholder: "Describe other term" %>
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
<%= form.collection_select :restriction_id, Restriction.all.reverse, :id, :label, { include_blank: true }, class: "form-control custom-select" %>
|
|
<%= form.text_field :restriction_text, hide_label: true, placeholder: "Describe other restrictions" %>
|
|
</div>
|
|
</div>
|