kit

conflict

Built revision v17.10.0

Phoenix
Topics

Human support

Bring a missing role, layout, or state, or a rendering against the standard, to the session working on kit. Name the package and the entry.

conflict

Maya Patel changed the billing email while you were editing

It is now billing@oak.example. Your entry is kept below and has not been saved.

aisha@oakmereprimary.org

Source
<Kit.Phoenix.Layouts.Form.form id="state-conflict-form" subject_state={Kit.Phoenix.State.conflict(:attention, "Maya Patel changed the billing email while you were editing", "It is now billing@oak.example. Your entry is kept below and has not been saved.")}>
  <:state_action><Kit.Phoenix.Roles.SecondaryAction.secondary_action>Reload current email</Kit.Phoenix.Roles.SecondaryAction.secondary_action></:state_action>
  <:form_groups>
    <Kit.Phoenix.Roles.FormGroup.form_group id="conflict-email-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.email()} control_rest={%{"id" => "conflict-email", "value" => "aisha@oakmereprimary.org"}}>
      <:printed_value>aisha@oakmereprimary.org</:printed_value>
      <:label rest={%{"for" => "conflict-email"}}>Oakmere Primary School billing email</:label>
    </Kit.Phoenix.Roles.FormGroup.form_group>
  </:form_groups>
  <:submit_return>
    <Kit.Phoenix.Roles.PrimaryAction.primary_action>Save email</Kit.Phoenix.Roles.PrimaryAction.primary_action>
  </:submit_return>
</Kit.Phoenix.Layouts.Form.form>