Files
comp4959/lectures/07/bcit/lib/bcit_web/controllers/student_html.ex
T
2026-10-23 13:43:58 -07:00

18 lines
378 B
Elixir

defmodule BcitWeb.StudentHTML do
use BcitWeb, :html
embed_templates "student_html/*"
@doc """
Renders a student form.
The form is defined in the template at
student_html/student_form.html.heex
"""
attr :changeset, Ecto.Changeset, required: true
attr :action, :string, required: true
attr :return_to, :string, default: nil
def student_form(assigns)
end