aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/pdfresources/edit.html.erb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-11-11 16:33:24 +0000
committerMatthew Lemon <y@yulqen.org>2024-11-11 16:33:24 +0000
commitb8d7a7cf7e78fe384c6c6e8e6812a252084ce1f0 (patch)
tree5ef297ac23775afb1bcffb68265749d08f282297 /app/views/pdfresources/edit.html.erb
parent97201e0bca203b6b303789374ffd7e4228e062a7 (diff)
Adds first pdfresource model
Diffstat (limited to 'app/views/pdfresources/edit.html.erb')
-rw-r--r--app/views/pdfresources/edit.html.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/pdfresources/edit.html.erb b/app/views/pdfresources/edit.html.erb
new file mode 100644
index 0000000..6738cf1
--- /dev/null
+++ b/app/views/pdfresources/edit.html.erb
@@ -0,0 +1,8 @@
+<div class="mx-auto md:w-2/3 w-full">
+ <h1 class="font-bold text-4xl">Editing pdfresource</h1>
+
+ <%= render "form", pdfresource: @pdfresource %>
+
+ <%= link_to "Show this pdfresource", @pdfresource, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
+ <%= link_to "Back to pdfresources", pdfresources_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
+</div>