formatting
This commit is contained in:
parent
6aa9a4bd48
commit
fa3645719d
8 changed files with 16 additions and 21 deletions
lib/bones73k_web
live
user
user_management
templates/user_session
|
@ -9,7 +9,6 @@
|
|||
|
||||
<%= form_for @changeset, "#", [phx_change: :validate, phx_submit: :save, novalidate: true, id: "reg_form"], fn f -> %>
|
||||
|
||||
|
||||
<%= label f, :email, class: "form-label" %>
|
||||
<div class="inner-addon left-addon mb-3" phx-feedback-for="<%= input_id(f, :email) %>">
|
||||
<%= icon_div @socket, "bi-at", [class: "icon is-left text-muted fs-5"] %>
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
<%= error_tag f, :password_confirmation %>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mb-3">
|
||||
<%= submit "Reset password",
|
||||
class: "btn btn-primary",
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
<%= form_for @changeset, "#", [phx_change: :validate, phx_submit: :save, phx_target: @myself], fn f -> %>
|
||||
|
||||
|
||||
<%= label f, :email, class: "form-label" %>
|
||||
<div class="inner-addon left-addon mb-3" phx-feedback-for="<%= input_id(f, :email) %>">
|
||||
<%= icon_div @socket, "bi-at", [class: "icon is-left text-muted fs-5"] %>
|
||||
|
@ -19,7 +18,6 @@
|
|||
<%= error_tag f, :email %>
|
||||
</div>
|
||||
|
||||
|
||||
<%= label f, :current_password, class: "form-label" %>
|
||||
<div class="inner-addon left-addon mb-3" phx-feedback-for="<%= input_id(f, :current_password) %>">
|
||||
<%= icon_div @socket, "bi-lock", [class: "icon is-left text-muted fs-5"] %>
|
||||
|
@ -31,7 +29,6 @@
|
|||
<%= error_tag f, :current_password %>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mb-3">
|
||||
<%= submit "Change email",
|
||||
class: "btn btn-primary",
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
<%= form_for @changeset, "#", [phx_change: :validate, phx_submit: :save, phx_target: @myself], fn f -> %>
|
||||
|
||||
|
||||
<%= label f, :password, "New password", class: "form-label" %>
|
||||
<div class="inner-addon left-addon mb-3" phx-feedback-for="<%= input_id(f, :password) %>">
|
||||
<%= icon_div @socket, "bi-key", [class: "icon is-left text-muted fs-5"] %>
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
<%= hidden_input f, :role, value: input_value(f, :role) %>
|
||||
<% end %>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
<%= label f, :email, class: "form-label" %>
|
||||
<div class="inner-addon left-addon mb-3">
|
||||
<%= icon_div @conn, "bi-at", [class: "icon is-left text-muted fs-5"] %>
|
||||
|
@ -38,7 +37,6 @@
|
|||
<span class="invalid-feedback">password is required</span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-check mb-3 no-valid-style">
|
||||
<%= checkbox f, :remember_me, class: "form-check-input" %>
|
||||
<%= label f, :remember_me, "Keep me logged in for 60 days", class: "form-check-label" %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue