From 01c6591e5c1072416dc31b33083b6538ad9cf145 Mon Sep 17 00:00:00 2001 From: Dean Lofts Date: Mon, 2 Sep 2024 22:47:09 +1000 Subject: [PATCH] attempt something --- app/views/achievements/_form.html.erb | 42 +++++++++---------- app/views/links/index.html.erb | 12 +++--- app/views/links/user_links.html.erb | 60 +++++++++++++-------------- 3 files changed, 57 insertions(+), 57 deletions(-) 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:

-