diff options
Diffstat (limited to 'app/views/pdfresources/_form.html.erb')
-rw-r--r-- | app/views/pdfresources/_form.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/pdfresources/_form.html.erb b/app/views/pdfresources/_form.html.erb index 1ad8fb1..a15bd67 100644 --- a/app/views/pdfresources/_form.html.erb +++ b/app/views/pdfresources/_form.html.erb @@ -90,6 +90,10 @@ <p class="text-sm text-gray-700">Number of credits required to purchase this resource.</p> </div> + <div class="my-5"> + <%= required_label_tag(form, :resource_type) %> + <%= form.collection_select :resource_type_id, ResourceType.all, :id, :name, {}, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %> + </div> <div class="my-5"> <%= form.label :stripe_product_id, "Stripe Product ID", class: "font-bold" %> |