docbrown/app/views/users/_account_set_password.html.erb
Lisa Sy fc4f6e3b1c
Improve information architecture of Settings (#11347)
* WIP Rename categories and make consistency card titles

* Add rest of sections to Extensions page

* icons

* Reshuffle Integrations and remove unnecessary Integrations tab in controller

* Update rspec tests

* Fix specs

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-11-24 12:26:06 -08:00

21 lines
936 B
Text

<div class="crayons-card crayons-card--content-rows">
<header>
<h2 class="crayons-subtitle-1">
Set new password
</h2>
<p class="color-base-70">
As an alternative to signing in via linked social accounts, you may create a password.
</p>
</header>
<%= form_for @user do |f| %>
<div class="crayons-field mb-4">
<%= f.label :password, class: "crayons-field__label" %>
<%= f.password_field :password, class: "crayons-textfield", autocomplete: "off" %>
</div>
<div class="crayons-field mb-4">
<%= f.label :password_confirmation, "Confirm new password", class: "crayons-field__label" %>
<%= f.password_field :password_confirmation, autocomplete: "off", class: "crayons-textfield" %>
</div>
<button class="crayons-btn crayon-btn--secondary" id="new__api__secret__btn" type="submit">Set New Password</button>
<% end %>
</div>