make it work
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
parent
f1586f0230
commit
a80776b260
2 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
defmodule Pleroma.Web.FrontendSwitcher.FrontendSwitcherView do
|
defmodule Pleroma.Web.FrontendSwitcher.FrontendSwitcherView do
|
||||||
use Pleroma.Web, :view
|
use Pleroma.Web, :view
|
||||||
|
|
||||||
|
import Phoenix.HTML.Form
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<h2>Switch Frontend</h2>
|
<h2>Switch frontend</h2>
|
||||||
|
|
||||||
<%= form_for @conn, Routes.frontend_switcher_path(@conn, :do_switch), fn f -> %>
|
<%= form_for @conn, Routes.frontend_switcher_path(@conn, :do_switch), fn f -> %>
|
||||||
<%= select(f, :frontend, @choices) %>
|
<%= select(f, :frontend, @choices) %>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue