diff --git a/app/views/achievements/_form.html.erb b/app/views/achievements/_form.html.erb index 3389c9e..8d39dc5 100644 --- a/app/views/achievements/_form.html.erb +++ b/app/views/achievements/_form.html.erb @@ -1,8 +1,8 @@ -<%= form_with(model: achievement, local: true) do |form| %> +<%= form_with(model: achievement, local: true, class: "max-w-md mx-auto p-4 bg-gray-800 rounded-lg shadow-md") do |form| %> <% if achievement.errors.any? %> -
-

<%= pluralize(achievement.errors.count, 'error') %> prohibited this achievement from being saved:

-