fixed form
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
<.flash_group flash={@flash} />
|
||||
<.form :let={f} for={@conn} action={~p"/"}>
|
||||
<input type="url" name="forum_path" />
|
||||
<input type="submit" class="btn btn-sm" value="Redirect" />
|
||||
</.form>
|
||||
|
||||
<.simple_form for={@conn.params} action={~p"/"} phx-submit="save">
|
||||
<.input field={@conn.params[:forum_path]} name="forum_path" value="" label="SA Url" />
|
||||
<:actions>
|
||||
<.button class="btn btn-sm">Redirect</.button>
|
||||
</:actions>
|
||||
</.simple_form>
|
||||
|
||||
<pre class="whitespace-pre-wrap w-full overflow-x-auto pb-8">
|
||||
<%= inspect(@current_user) %>
|
||||
|
Reference in New Issue
Block a user