%= form_for @changeset, "#", [
id: "property-form",
phx_target: @myself,
phx_change: "validate",
phx_submit: "save"
], fn f -> %>
<%= label f, :name, class: "form-label" %>
<%= text_input f, :name,
class: input_class(f, :name, "form-control"),
aria_describedby: error_ids(f, :name)
%>
<%= error_tag f, :name %>
<%= label f, :price, class: "form-label" %>
<%= number_input f, :price,
class: input_class(f, :price, "form-control"),
step: "any",
aria_describedby: error_ids(f, :price)
%>
<%= error_tag f, :price %>
<%= label f, :description, class: "form-label" %>
<%= textarea f, :description,
class: input_class(f, :description, "form-control"),
aria_describedby: error_ids(f, :description)
%>
<%= error_tag f, :description %>
<% end %>