Expand usage of structured_modal/1
This commit is contained in:
@@ -99,12 +99,9 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<.modal
|
||||
<.structured_modal
|
||||
:if={@live_action in [:new, :edit]}
|
||||
id="scrobble_rule-modal"
|
||||
class="md:min-w-2xl max-w-sm md:max-w-3xl mt-8"
|
||||
placement="top"
|
||||
open
|
||||
on_close={JS.patch(~p"/scrobble-rules")}
|
||||
>
|
||||
<.live_component
|
||||
@@ -115,4 +112,4 @@
|
||||
scrobble_rule={@scrobble_rule}
|
||||
patch={~p"/scrobble-rules"}
|
||||
/>
|
||||
</.modal>
|
||||
</.structured_modal>
|
||||
|
||||
Reference in New Issue
Block a user