use core components

This commit is contained in:
2023-03-17 21:06:08 -04:00
parent f4c7f22460
commit 7fa9933a9b
42 changed files with 635 additions and 738 deletions

View File

@ -4,7 +4,6 @@ defmodule CanneryWeb.RangeLive.Index do
"""
use CanneryWeb, :live_view
import CanneryWeb.Components.AmmoGroupCard
alias Cannery.{ActivityLog, ActivityLog.ShotGroup, Ammo, Repo}
alias CanneryWeb.Endpoint
alias Phoenix.LiveView.Socket

View File

@ -70,7 +70,8 @@
<div class="w-full flex flex-col sm:flex-row justify-center items-center space-y-4 sm:space-y-0 sm:space-x-4 max-w-xl">
<.form
:let={f}
for={:search}
for={%{}}
as={:search}
phx-change="search"
phx-submit="search"
class="grow self-stretch flex flex-col items-stretch"