forked from shibao/cannery
add more text replacements
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<.form
|
||||
:let={f}
|
||||
for={@changeset}
|
||||
id="shot-group-form"
|
||||
id="shot-record-form"
|
||||
class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center"
|
||||
phx-target={@myself}
|
||||
phx-change="validate"
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
<%= label(f, :notes, gettext("Notes"), class: "title text-lg text-primary-600") %>
|
||||
<%= textarea(f, :notes,
|
||||
id: "shot-group-form-notes",
|
||||
id: "shot-record-form-notes",
|
||||
class: "input input-primary col-span-2",
|
||||
maxlength: 255,
|
||||
placeholder: gettext("Really great weather"),
|
||||
|
@ -37,7 +37,7 @@ defmodule CanneryWeb.RangeLive.Index do
|
||||
defp apply_action(%{assigns: %{current_user: current_user}} = socket, :edit, %{"id" => id}) do
|
||||
socket
|
||||
|> assign(
|
||||
page_title: gettext("Edit Shot Records"),
|
||||
page_title: gettext("Edit Shot Record"),
|
||||
shot_record: ActivityLog.get_shot_record!(id, current_user)
|
||||
)
|
||||
end
|
||||
|
Reference in New Issue
Block a user