Refactor and add securities controller
This commit is contained in:
13
lib/tradex_web/controllers/security_html.ex
Normal file
13
lib/tradex_web/controllers/security_html.ex
Normal file
@@ -0,0 +1,13 @@
|
||||
defmodule TradexWeb.SecurityHTML do
|
||||
use TradexWeb, :html
|
||||
|
||||
embed_templates "security_html/*"
|
||||
|
||||
@doc """
|
||||
Renders a security form.
|
||||
"""
|
||||
attr :changeset, Ecto.Changeset, required: true
|
||||
attr :action, :string, required: true
|
||||
|
||||
def security_form(assigns)
|
||||
end
|
Reference in New Issue
Block a user