mark required fields as required
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| <div class="h-full flex flex-col justify-start items-stretch space-y-4"> | ||||
| <div class="flex flex-col justify-start items-stretch space-y-4 h-full"> | ||||
|   <.form | ||||
|     :let={f} | ||||
|     for={@changeset} | ||||
| @@ -14,7 +14,8 @@ | ||||
|       class: "input input-primary", | ||||
|       phx_debounce: 300, | ||||
|       phx_hook: "SanitizeTitles", | ||||
|       placeholder: gettext("slug") | ||||
|       placeholder: gettext("slug"), | ||||
|       required: true | ||||
|     ) %> | ||||
|     <%= error_tag(f, :slug) %> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user