diff --git a/app/views/common/_button.html.erb b/app/views/common/_button.html.erb index f0b1e92..51a0aa4 100644 --- a/app/views/common/_button.html.erb +++ b/app/views/common/_button.html.erb @@ -2,7 +2,7 @@ <%= link_to path, data: local_assigns.fetch(:data, nil) do %>
-
+
<%=fa_icon icon %>
diff --git a/app/views/scores/_score.html.erb b/app/views/scores/_score.html.erb index f011924..5478f33 100644 --- a/app/views/scores/_score.html.erb +++ b/app/views/scores/_score.html.erb @@ -1,4 +1,4 @@ - + <%= score.name %> @@ -8,7 +8,7 @@ <%= score.created_at %> - + <%= render partial: 'common/button', locals: {path: score, icon: :eye, tooltip: 'open score'} %> <%= render partial: 'common/button', locals: {path: edit_score_path(score), icon: :edit, tooltip: 'edit score'} %> <%= render partial: 'common/button', locals: {path: score, icon: :trash, tooltip: 'delete score',data:{ turbo_method: :delete}} %> diff --git a/app/views/scores/_scores.html.erb b/app/views/scores/_scores.html.erb index 3190353..0d14e72 100644 --- a/app/views/scores/_scores.html.erb +++ b/app/views/scores/_scores.html.erb @@ -11,7 +11,7 @@ <%= pagy_sort_link(@q, :created_at) %> - + Actions @@ -27,7 +27,7 @@ - + <%= render @scores %> diff --git a/app/views/scores/index.html.erb b/app/views/scores/index.html.erb index adbeb26..edf3391 100644 --- a/app/views/scores/index.html.erb +++ b/app/views/scores/index.html.erb @@ -3,7 +3,7 @@
- <%= link_to "New score", new_score_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %> + <%= link_to "New score", new_score_path, class: "border rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>