mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-20 07:12:49 +12:00
fix: Fix module name for Show -> Update in generator (#109)
This commit is contained in:
parent
c93c6064ed
commit
3dc29edcec
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ defmodule <%= inspect Module.concat(@web_module, @resource_alias) %>Live.Show do
|
||||||
<%= if @update_action do %>
|
<%= if @update_action do %>
|
||||||
<.modal :if={@live_action == :edit} id="<%= @resource_singular %>-modal" show on_cancel={JS.patch(~p"<%= @route_prefix %>/#{@<%= @resource_singular %>}")}>
|
<.modal :if={@live_action == :edit} id="<%= @resource_singular %>-modal" show on_cancel={JS.patch(~p"<%= @route_prefix %>/#{@<%= @resource_singular %>}")}>
|
||||||
<.live_component
|
<.live_component
|
||||||
module={<%= @web_module %>.Live.FormComponent}
|
module={<%= inspect Module.concat(@web_module, @resource_alias) %>Live.FormComponent}
|
||||||
id={@<%= @resource_singular %>.id}
|
id={@<%= @resource_singular %>.id}
|
||||||
title={@page_title}
|
title={@page_title}
|
||||||
action={@live_action}
|
action={@live_action}
|
||||||
|
|
Loading…
Reference in a new issue