diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-14 17:16:43 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-14 17:16:43 +0000 |
commit | 2022831d4960054aef904e27fd2934beb4e3c65e (patch) | |
tree | 77f11b9c629d66b9782d7dc6c77105bb178116d8 /app/views/categories/new.html.erb | |
parent | 9292aae8fe1876fe98c90ae0216fb4ea8917b38a (diff) |
Adds category model but not wired up to resource yet
Diffstat (limited to 'app/views/categories/new.html.erb')
-rw-r--r-- | app/views/categories/new.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/categories/new.html.erb b/app/views/categories/new.html.erb new file mode 100644 index 0000000..fae8770 --- /dev/null +++ b/app/views/categories/new.html.erb @@ -0,0 +1,7 @@ +<div class="mx-auto md:w-2/3 w-full"> + <h1 class="font-bold text-4xl">New category</h1> + + <%= render "form", category: @category %> + + <%= link_to "Back to categories", categories_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %> +</div> |