From 2022831d4960054aef904e27fd2934beb4e3c65e Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 14 Nov 2024 17:16:43 +0000 Subject: Adds category model but not wired up to resource yet --- app/views/categories/new.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/views/categories/new.html.erb (limited to 'app/views/categories/new.html.erb') 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 @@ +
+

New category

+ + <%= 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" %> +
-- cgit v1.2.3