Remove unneeded templates
This commit is contained in:
parent
49ac2bbe6f
commit
83182b9e7b
10 changed files with 0 additions and 133 deletions
|
@ -3,14 +3,6 @@ defmodule NullaWeb.UserHTML do
|
|||
|
||||
embed_templates "templates/user/*"
|
||||
|
||||
@doc """
|
||||
Renders a user form.
|
||||
"""
|
||||
attr :changeset, Ecto.Changeset, required: true
|
||||
attr :action, :string, required: true
|
||||
|
||||
def user_form(assigns)
|
||||
|
||||
def format_birthdate(date) do
|
||||
formatted = Date.to_string(date) |> String.replace("-", "/")
|
||||
age = Timex.diff(Timex.today(), date, :years)
|
||||
|
@ -84,17 +76,3 @@ defmodule NullaWeb.UserHTML do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
defmodule NullaWeb.NoteHTML do
|
||||
use NullaWeb, :html
|
||||
|
||||
embed_templates "templates/note/*"
|
||||
|
||||
@doc """
|
||||
Renders a note form.
|
||||
"""
|
||||
attr :changeset, Ecto.Changeset, required: true
|
||||
attr :action, :string, required: true
|
||||
|
||||
def note_form(assigns)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue