kit

Ways in

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.

Ways in

or

Your workspace opens straight away.

No email given

Email opened
or

Your workspace opens straight away.

No email given

Mobile number leads
07700 900123

or

Your workspace opens straight away.

Google refused
or

Your workspace opens straight away.

No email given

Without a way
or

Your workspace opens straight away.

Without a surrounding form
or

Your workspace opens straight away.

Source
<Kit.Phoenix.Layouts.Form.form id="role-ways-in-form" subject_state={Kit.Phoenix.State.none()} action="#role-ways-in" method="get">
  <:ways_in>
    <Kit.Phoenix.Roles.WaysIn.ways_in id="role-ways-in-ways">
      <:google rest={%{name: "way", value: "google"}}>Continue with Google</:google>
      <:way on_open={%Phoenix.LiveView.JS{}}>Continue with email</:way>
      <:others>
        <Kit.Phoenix.Roles.SecondaryAction.secondary_action>
          Continue with Microsoft
        </Kit.Phoenix.Roles.SecondaryAction.secondary_action>
      </:others>
      <:sentence>Your workspace opens straight away.</:sentence>
    </Kit.Phoenix.Roles.WaysIn.ways_in>
  </:ways_in>
  <:form_groups>
    <Kit.Phoenix.Roles.FormGroup.form_group id="role-ways-in-email-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.email()} required control_rest={%{id: "role-ways-in-email", name: "email", autocomplete: "email"}}><:printed_value>No email given</:printed_value>
      <:label rest={%{for: "role-ways-in-email"}}>Email</:label>
    </Kit.Phoenix.Roles.FormGroup.form_group>
  </:form_groups>
  <:all_ways_form_groups>
    <Kit.Phoenix.Roles.SelectionControl.group id="role-ways-in-remember">
      <:choice control_rest={%{name: "remember", value: "true"}}>Remember me for 30 days</:choice>
    </Kit.Phoenix.Roles.SelectionControl.group>
  </:all_ways_form_groups>
  <:submit_return action="primary-action" action_state={nil} control_rest={%{type: "submit", name: "way", value: "email"}}>Continue with email</:submit_return>
</Kit.Phoenix.Layouts.Form.form>
<Kit.Phoenix.Layouts.Form.form id="role-ways-in-form-2" subject_state={Kit.Phoenix.State.none()} action="#role-ways-in" method="get">
  <:ways_in opened>
    <Kit.Phoenix.Roles.WaysIn.ways_in id="role-ways-in-opened" opened>
      <:google rest={%{name: "way", value: "google"}}>Continue with Google</:google>
      <:way on_open={%Phoenix.LiveView.JS{}}>Continue with email</:way>
      <:others>
        <Kit.Phoenix.Roles.SecondaryAction.secondary_action>
          Continue with Microsoft
        </Kit.Phoenix.Roles.SecondaryAction.secondary_action>
      </:others>
      <:sentence>Your workspace opens straight away.</:sentence>
    </Kit.Phoenix.Roles.WaysIn.ways_in>
  </:ways_in>
  <:form_groups>
    <Kit.Phoenix.Roles.FormGroup.form_group id="role-ways-in-opened-email-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.email()} required control_rest={%{id: "role-ways-in-opened-email", name: "email", autocomplete: "email"}}><:printed_value>No email given</:printed_value>
      <:label rest={%{for: "role-ways-in-opened-email"}}>Email</:label>
    </Kit.Phoenix.Roles.FormGroup.form_group>
  </:form_groups>
  <:all_ways_form_groups>
    <Kit.Phoenix.Roles.SelectionControl.group id="role-ways-in-opened-remember">
      <:choice control_rest={%{name: "remember", value: "true"}}>Remember me for 30 days</:choice>
    </Kit.Phoenix.Roles.SelectionControl.group>
  </:all_ways_form_groups>
  <:submit_return action="primary-action" action_state={nil} control_rest={%{type: "submit", name: "way", value: "email"}}>Continue with email</:submit_return>
</Kit.Phoenix.Layouts.Form.form>
<Kit.Phoenix.Layouts.Form.form id="role-ways-in-form-3" subject_state={Kit.Phoenix.State.none()} action="#role-ways-in" method="get">
  <:ways_in opened leads>
    <Kit.Phoenix.Roles.WaysIn.ways_in id="role-ways-in-leads" opened leads>
      <:google rest={%{name: "way", value: "google"}}>Continue with Google</:google>
      <:way on_open={%Phoenix.LiveView.JS{}}>Continue with mobile number</:way>
      <:others>
        <Kit.Phoenix.Roles.SecondaryAction.secondary_action>
          Continue with Microsoft
        </Kit.Phoenix.Roles.SecondaryAction.secondary_action>
      </:others>
      <:sentence>Your workspace opens straight away.</:sentence>
    </Kit.Phoenix.Roles.WaysIn.ways_in>
  </:ways_in>
  <:form_groups>
    <Kit.Phoenix.Roles.FormGroup.form_group id="role-ways-in-leads-mobile-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.telephone()} required control_rest={%{id: "role-ways-in-leads-mobile", name: "mobile", autocomplete: "tel", value: "07700 900123"}}><:printed_value>07700 900123</:printed_value>
      <:label rest={%{for: "role-ways-in-leads-mobile"}}>Mobile number</:label>
    </Kit.Phoenix.Roles.FormGroup.form_group>
  </:form_groups>
  <:all_ways_form_groups>
    <Kit.Phoenix.Roles.SelectionControl.group id="role-ways-in-leads-remember">
      <:choice control_rest={%{name: "remember", value: "true"}}>Remember me for 30 days</:choice>
    </Kit.Phoenix.Roles.SelectionControl.group>
  </:all_ways_form_groups>
  <:submit_return action="primary-action" action_state={nil} control_rest={%{type: "submit", name: "way", value: "mobile"}}>Send code</:submit_return>
</Kit.Phoenix.Layouts.Form.form>
<Kit.Phoenix.Layouts.Form.form id="role-ways-in-form-4" subject_state={Kit.Phoenix.State.none()} action="#role-ways-in" method="get">
  <:ways_in>
    <Kit.Phoenix.Roles.WaysIn.ways_in id="role-ways-in-refused">
      <:google rest={%{name: "way", value: "google"}}>Continue with Google</:google>
      <:way on_open={%Phoenix.LiveView.JS{}}>Continue with email</:way>
      <:others>
        <Kit.Phoenix.Roles.SecondaryAction.secondary_action>
          Continue with Microsoft
        </Kit.Phoenix.Roles.SecondaryAction.secondary_action>
      </:others>
      <:sentence>Your workspace opens straight away.</:sentence>
    </Kit.Phoenix.Roles.WaysIn.ways_in>
  </:ways_in>
  <:form_groups>
    <Kit.Phoenix.Roles.FormGroup.form_group id="role-ways-in-refused-email-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.email()} required control_rest={%{id: "role-ways-in-refused-email", name: "email", autocomplete: "email"}}><:printed_value>No email given</:printed_value>
      <:label rest={%{for: "role-ways-in-refused-email"}}>Email</:label>
    </Kit.Phoenix.Roles.FormGroup.form_group>
  </:form_groups>
  <:all_ways_form_groups>
    <Kit.Phoenix.Roles.SelectionControl.group id="role-ways-in-refused-remember">
      <:choice control_rest={%{name: "remember", value: "true"}}>Remember me for 30 days</:choice>
    </Kit.Phoenix.Roles.SelectionControl.group>
  </:all_ways_form_groups>
  <:refusal>
    <Kit.Phoenix.Roles.Refusal.refusal id="role-ways-in-refused-refusal">
      <:line>Signing in with Google did not finish: Google did not confirm your account. Try again, or continue with email.</:line>
    </Kit.Phoenix.Roles.Refusal.refusal>
  </:refusal>
  <:submit_return action="primary-action" action_state={nil} control_rest={%{type: "submit", name: "way", value: "email"}}>Continue with email</:submit_return>
</Kit.Phoenix.Layouts.Form.form>
<form action="#role-ways-in" method="get">
  <Kit.Phoenix.Roles.WaysIn.ways_in>
    <:google rest={%{name: "way", value: "google"}}>Continue with Google</:google>
    <:others><Kit.Phoenix.Roles.SecondaryAction.secondary_action>Continue with Microsoft</Kit.Phoenix.Roles.SecondaryAction.secondary_action></:others>
    <:sentence>Your workspace opens straight away.</:sentence>
  </Kit.Phoenix.Roles.WaysIn.ways_in>
</form>
<form id="role-ways-in-receiver" action="#role-ways-in" method="get"></form>
<Kit.Phoenix.Roles.WaysIn.ways_in>
  <:google rest={%{form: "role-ways-in-receiver", name: "way", value: "google"}}>Continue with Google</:google>
  <:others><Kit.Phoenix.Roles.SecondaryAction.secondary_action>Continue with Microsoft</Kit.Phoenix.Roles.SecondaryAction.secondary_action></:others>
  <:sentence>Your workspace opens straight away.</:sentence>
</Kit.Phoenix.Roles.WaysIn.ways_in>

Ways in, inert

Google sign-in is not ready yet.

or

Email sign-in is not ready yet.

Microsoft sign-in is not ready yet.

Your workspace opens straight away.

No email given

Source
<Kit.Phoenix.Layouts.Form.form id="role-ways-in-inert-form" subject_state={Kit.Phoenix.State.none()} action="#role-ways-in" method="get">
  <:ways_in>
    <Kit.Phoenix.Roles.WaysIn.ways_in id="role-ways-in-inert-ways">
      <:google state={Kit.Phoenix.ActionState.inert("ways-in-google", [Kit.Phoenix.Words.text("Google sign-in is not ready yet.")])}>Continue with Google</:google>
      <:way on_open={%Phoenix.LiveView.JS{}} state={Kit.Phoenix.ActionState.inert("ways-in-email", [Kit.Phoenix.Words.text("Email sign-in is not ready yet.")])}>Continue with email</:way>
      <:others>
        <Kit.Phoenix.Roles.InertControl.inert_control action="secondary-action" id="ways-in-microsoft" words={[Kit.Phoenix.Words.text("Microsoft sign-in is not ready yet.")]}>Continue with Microsoft</Kit.Phoenix.Roles.InertControl.inert_control>
      </:others>
      <:sentence>Your workspace opens straight away.</:sentence>
    </Kit.Phoenix.Roles.WaysIn.ways_in>
  </:ways_in>
  <:form_groups>
    <Kit.Phoenix.Roles.FormGroup.form_group id="role-ways-in-inert-email-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.email()} control_rest={%{id: "role-ways-in-inert-email", name: "email", autocomplete: "email"}}><:printed_value>No email given</:printed_value>
      <:label rest={%{for: "role-ways-in-inert-email"}}>Email</:label>
    </Kit.Phoenix.Roles.FormGroup.form_group>
  </:form_groups>
  <:submit_return action="primary-action" action_state={nil} control_rest={%{type: "submit"}}>Continue with email</:submit_return>
</Kit.Phoenix.Layouts.Form.form>