diff --git a/lib/decentralised_book_index_web/components/my_components/selected_author.ex b/lib/decentralised_book_index_web/components/my_components/selected_author.ex index 96dff35..2d3eb47 100644 --- a/lib/decentralised_book_index_web/components/my_components/selected_author.ex +++ b/lib/decentralised_book_index_web/components/my_components/selected_author.ex @@ -4,6 +4,7 @@ defmodule DecentralisedBookIndexWeb.Components.MyComponents.SelectedAuthor do attr :author_form, :map, default: nil attr :form_path, :string, default: "" + attr :class, :string, default: "" def selected_author(assigns) do author_id = assigns.author_form.value @@ -18,7 +19,7 @@ defmodule DecentralisedBookIndexWeb.Components.MyComponents.SelectedAuthor do assigns = assign(assigns, :author, author) ~H""" -