From 40730fd47a185c045bfcbabec8718822f5db8b93 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 9 Apr 2025 15:43:39 -0500 Subject: [PATCH] Remove UI from cards --- app/views/cards/_color.html.erb | 27 --------------------------- app/views/cards/show.html.erb | 1 - 2 files changed, 28 deletions(-) delete mode 100644 app/views/cards/_color.html.erb diff --git a/app/views/cards/_color.html.erb b/app/views/cards/_color.html.erb deleted file mode 100644 index 339d30e53..000000000 --- a/app/views/cards/_color.html.erb +++ /dev/null @@ -1,27 +0,0 @@ -
- - - - <%= form_with model: card, url: collection_card_path(card.collection, card), class: "flex gap-half", data: { controller: "form", action: "change->form#submit" } do |form| %> - <% Card::COLORS.each do |color| %> - - - - <% end %> - <% end %> - -
- -
-
-
diff --git a/app/views/cards/show.html.erb b/app/views/cards/show.html.erb index 2bc13a4a3..60d74f89e 100644 --- a/app/views/cards/show.html.erb +++ b/app/views/cards/show.html.erb @@ -61,7 +61,6 @@ - <%= render "cards/color", card: @card %> <%= render "cards/image", card: @card %> <%= button_to collection_card_path(@card.collection, @card), method: :delete,