Allow editing a record title

This commit is contained in:
Claudio Ortolina
2025-07-13 11:05:29 +01:00
parent e887addaf2
commit 939c36865f
3 changed files with 11 additions and 0 deletions
@@ -35,6 +35,7 @@ defmodule MusicLibraryWeb.FormComponent do
phx-auto-recover="recover_form"
phx-submit="save"
>
<.input field={@form[:title]} label={gettext("Title")} />
<div class="sm:columns-2 space-y-2">
<.select field={@form[:type]} label={gettext("Type")} options={types_with_labels()} />
<.select field={@form[:format]} label={gettext("Format")} options={formats_with_labels()} />
+5
View File
@@ -1168,3 +1168,8 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Apply All"
msgstr ""
#: lib/music_library_web/components/form_component.ex
#, elixir-autogen, elixir-format
msgid "Title"
msgstr ""
+5
View File
@@ -1168,3 +1168,8 @@ msgstr ""
#, elixir-autogen, elixir-format, fuzzy
msgid "Apply All"
msgstr ""
#: lib/music_library_web/components/form_component.ex
#, elixir-autogen, elixir-format
msgid "Title"
msgstr ""