98755844a1
* Bind sessions to identities * Remove references to the identity token * Move email changes to identity * Move account menu into a turbo-frame * Create tenants from a tenanted route
29 lines
1022 B
Plaintext
29 lines
1022 B
Plaintext
<% @page_title = "Join #{Account.sole.name}" %>
|
|
|
|
<div class="panel panel--centered flex flex-column gap-half">
|
|
<header>
|
|
<h1 class="txt-x-large font-weight-black margin-none">
|
|
<%= @page_title %>
|
|
</h1>
|
|
<p class="margin-none-block-start">Enter your name to continue</p>
|
|
</header>
|
|
|
|
<%= form_with scope: "user", url: users_path(membership: params[:membership]), class: "flex flex-column gap txt-medium" do |form| %>
|
|
<div class="flex align-center gap">
|
|
<label class="flex align-center gap input input--actor">
|
|
<%= form.text_field :name, class: "input full-width", autocomplete: "name", placeholder: "Name", autofocus: true, required: true, data: { "1p-ignore": true } %>
|
|
<%= icon_tag "person", class: "txt-large" %>
|
|
</label>
|
|
</div>
|
|
|
|
<button type="submit" id="log_in" class="btn btn--link center">
|
|
<span>Join</span>
|
|
<%= icon_tag "arrow-right" %>
|
|
</button>
|
|
<% end %>
|
|
</div>
|
|
|
|
<% content_for :footer do %>
|
|
<%= render "sessions/footer" %>
|
|
<% end %>
|