forked from fixin.me/fixin.me
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
7eafb86d9b | |||
abd02fc7d0 | |||
de8f291cee | |||
c049fc8d24 | |||
2c37865265 |
@ -202,7 +202,6 @@ input[type=text]:read-only {
|
||||
fill: #009ade;
|
||||
}
|
||||
|
||||
|
||||
.leftside {
|
||||
grid-area: leftside;
|
||||
}
|
||||
@ -460,6 +459,9 @@ table.items select:focus-visible {
|
||||
.extendedright {
|
||||
margin-right: auto;
|
||||
}
|
||||
.extendedleft {
|
||||
margin-left: auto;
|
||||
}
|
||||
[disabled] {
|
||||
border-color: var(--color-border-gray) !important;
|
||||
color: var(--color-border-gray) !important;
|
||||
|
@ -1,3 +1,4 @@
|
||||
<div class="leftside">
|
||||
<% content_for :navigation, flush: true do %>
|
||||
<%= image_link_to t(:back), 'arrow-left-bold-outline',
|
||||
request.referer.present? ? :back : root_path %>
|
||||
@ -12,7 +13,7 @@
|
||||
html: {method: :patch, class: 'main'} do |f| %>
|
||||
<%= f.email_field :email, size: 30, autofocus: true, autocomplete: "off" %>
|
||||
<% if f.object.pending_reconfirmation? %>
|
||||
<%= f.text_field :unconfirmed_email, readonly: true, tabindex: -1,
|
||||
<%= f.text_field :unconfirmed_email, readonly: true, tabindex: -1,
|
||||
hint: t(".unconfirmed_email_hint",
|
||||
timestamp: f.object.confirmation_sent_at.to_fs(:db_without_sec)) %>
|
||||
<% end %>
|
||||
@ -24,7 +25,8 @@
|
||||
hint: t(".blank_password_hint_html",
|
||||
subhint: t("users.minimum_password_length", count: @minimum_password_length)) %>
|
||||
<%= f.password_field :password_confirmation, label: t(".password_confirmation"),
|
||||
size: 30, minlength: @minimum_password_length, autocomplete: "off" %>
|
||||
size: 30, minlength: @minimum_password_length, autocomplete: "off" %>
|
||||
|
||||
<%= f.submit t(".update") %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user