Add importing html and save it to Article
Additionally defines a wizard logic which is partially unused yet.
This commit is contained in:
@ -18,6 +18,6 @@ defmodule Outlook.Authors.Author do
|
||||
def changeset(author, attrs) do
|
||||
author
|
||||
|> cast(attrs, [:name, :description, :homepage_name, :homepage_url])
|
||||
|> validate_required([:name, :description, :homepage_name, :homepage_url])
|
||||
|> validate_required([:name, :description])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user