unsavedBuilt revision v17.10.0 Phoenix TopicsHuman supportBring a missing role, layout, or state, or a rendering against the standard, to the session working on kit. Name the package and the entry. unsaved
Notes
Source<Kit.Phoenix.Layouts.Settings.settings id="state-unsaved-settings" subject_state={Kit.Phoenix.State.unsaved(:attention, "Not saved", "Your change is on this device.")} section_index_rest={%{"aria-label": "Hirer settings"}} section_index_patch="../../settings/" section="billing" section_index={[%Kit.Phoenix.Layouts.Settings.Entry{section: "hirer-details", name: "Hirer details"}, %Kit.Phoenix.Layouts.Settings.Entry{section: "billing", name: "Billing"}]} section_heading_id="unsaved-billing-title" section_index_label="Sections">
<:selected_section rest={%{"aria-labelledby": "unsaved-billing-title"}} />
<:form_or_list form_rest={%{method: "get", id: "unsaved-billing-form"}} keep={%Kit.Phoenix.Keep{key: "aisha-khan/settings/billing", version: "7"}}>
<Kit.Phoenix.Roles.FormGroup.form_group id="unsaved-email-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.email()} control_rest={%{id: "unsaved-email", name: "email", value: "accounts@oakmereprimary.org"}}>
<:printed_value>accounts@oakmereprimary.org</:printed_value>
<:label rest={%{for: "unsaved-email"}}>Billing email</:label>
</Kit.Phoenix.Roles.FormGroup.form_group>
</:form_or_list>
<:local_actions>
<Kit.Phoenix.Roles.PrimaryAction.primary_action type="submit" form="unsaved-billing-form">Save email</Kit.Phoenix.Roles.PrimaryAction.primary_action>
<Kit.Phoenix.Roles.SecondaryAction.secondary_action>Send a test invoice</Kit.Phoenix.Roles.SecondaryAction.secondary_action>
<Kit.Phoenix.Roles.WayBack.way_back href="../../settings/?section=hirer-details">Return to hirer details</Kit.Phoenix.Roles.WayBack.way_back>
</:local_actions>
</Kit.Phoenix.Layouts.Settings.settings>
<Kit.Phoenix.Layouts.Record.record subject_state={Kit.Phoenix.State.none()} decision_unsaved={Kit.Phoenix.State.unsaved(:attention, "Not saved")}>
<:decision rest={%{id: "unsaved-invoice-decision"}} keep={%Kit.Phoenix.Keep{key: "aisha-khan/invoice/oakmere-primary/decision", version: "4"}}>
<Kit.Phoenix.Roles.FormGroup.form_group id="unsaved-invoice-note-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.textarea()} control_value="Paid by bank transfer, reference OPS-2025." control_rest={%{id: "unsaved-invoice-note", name: "invoice-note"}}>
<:label rest={%{for: "unsaved-invoice-note"}}>Note on the invoice</:label>
</Kit.Phoenix.Roles.FormGroup.form_group>
</:decision>
<:decision_actions><Kit.Phoenix.Roles.PrimaryAction.primary_action type="submit">Send invoice</Kit.Phoenix.Roles.PrimaryAction.primary_action><Kit.Phoenix.Roles.SecondaryAction.secondary_action>Preview invoice</Kit.Phoenix.Roles.SecondaryAction.secondary_action><Kit.Phoenix.Roles.WayBack.way_back href="#unsaved-notes">Return to invoice</Kit.Phoenix.Roles.WayBack.way_back></:decision_actions>
<:notes_files_history rest={%{id: "unsaved-notes", "aria-labelledby": "unsaved-notes-title"}} heading="Notes" heading_rest={%{id: "unsaved-notes-title"}}>
<Kit.Phoenix.Roles.FormGroup.form_group id="unsaved-note-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.textarea()} control_value="Aisha asked for a copy by post." control_rest={%{id: "unsaved-note", name: "note"}}>
<:label rest={%{for: "unsaved-note"}}>Note</:label>
<:action unsaved={Kit.Phoenix.State.unsaved(:attention, "Not saved")} keep={%Kit.Phoenix.Keep{key: "aisha-khan/invoice/oakmere-primary/note", version: "4"}}><Kit.Phoenix.Roles.SecondaryAction.secondary_action type="submit">Add note</Kit.Phoenix.Roles.SecondaryAction.secondary_action></:action>
</Kit.Phoenix.Roles.FormGroup.form_group>
</:notes_files_history>
</Kit.Phoenix.Layouts.Record.record>
|