Initial commit
This commit is contained in:
23
app/views/shared/_exploitable_rights_fields.html.erb
Normal file
23
app/views/shared/_exploitable_rights_fields.html.erb
Normal file
@@ -0,0 +1,23 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user