From acf3389e97eb245c3b9c9dbc0c96799696fb631b Mon Sep 17 00:00:00 2001 From: ruideassiscosta <102609685+ruideassiscosta@users.noreply.github.com> Date: Tue, 26 Jul 2022 17:52:47 +0100 Subject: [PATCH] Update modal forms (#24) --- .../form_component.html.heex | 39 ++++++++++---- .../live/admin/academic_year_live/index.ex | 2 +- .../admin/academic_year_live/index.html.heex | 2 +- .../admin/class_live/form_component.html.heex | 52 ++++++++++++++----- .../live/admin/class_live/index.ex | 2 +- .../degree_live/form_component.html.heex | 37 +++++++++---- .../live/admin/degree_live/index.ex | 2 +- .../live/admin/degree_live/index.html.heex | 2 +- .../live/admin/degree_live/show.html.heex | 4 +- lib/yearbook_web/live/live_helpers.ex | 19 ++++--- .../live/admin/academic_year_live_test.exs | 4 +- .../live/admin/degree_live_test.exs | 2 +- 12 files changed, 116 insertions(+), 51 deletions(-) diff --git a/lib/yearbook_web/live/admin/academic_year_live/form_component.html.heex b/lib/yearbook_web/live/admin/academic_year_live/form_component.html.heex index d7c2343..17a8678 100644 --- a/lib/yearbook_web/live/admin/academic_year_live/form_component.html.heex +++ b/lib/yearbook_web/live/admin/academic_year_live/form_component.html.heex @@ -1,17 +1,36 @@