diff --git a/lib/generators/tailwindcss/controller/templates/view.html.erb.tt b/lib/generators/tailwindcss/controller/templates/view.html.erb.tt index 913e624..60e6f9a 100644 --- a/lib/generators/tailwindcss/controller/templates/view.html.erb.tt +++ b/lib/generators/tailwindcss/controller/templates/view.html.erb.tt @@ -1,4 +1,4 @@
-

<%= class_name %>#<%= @action %>

+

<%= class_name %>#<%= @action %>

Find me in <%= @path %>

diff --git a/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt b/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt index e5aee53..c65409f 100644 --- a/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt +++ b/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt @@ -4,7 +4,7 @@ <%% end %>
-

<%= human_name.pluralize %>

+

<%= human_name.pluralize %>

<%%= link_to 'New <%= human_name.downcase %>', new_<%= singular_route_name %>_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
diff --git a/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt b/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt index 3eed702..1f7870f 100644 --- a/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt +++ b/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt @@ -1,5 +1,5 @@
-

New <%= human_name.downcase %>

+

New <%= human_name.downcase %>

<%%= render "form", <%= singular_table_name %>: @<%= singular_table_name %> %>