css-zero 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/css_zero/version.rb +1 -1
- data/lib/generators/css_zero/authentication/templates/app/views/passwords/edit.html.erb.tt +4 -2
- data/lib/generators/css_zero/authentication/templates/app/views/passwords/new.html.erb.tt +3 -1
- data/lib/generators/css_zero/authentication/templates/app/views/sessions/new.html.erb.tt +7 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7830cbe9a3552842bf3e03618a696cbb286865a104881ef20c9392723bca1f3f
|
4
|
+
data.tar.gz: 714d059191eaaa5aeb9e9c560b210a9e6149baf6ff544bf9c865f62fb1a909ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 177c1259d2365fd172acba93af3dd1081820e64d36260948d4e249a1a5143d6fdcfbbb3e27c9e0391fc5a686ec5a65493464215645450f8ca6fbdae638cd094f
|
7
|
+
data.tar.gz: 8294f56c6c1bb808930b46caf3e3acf4a510d76f6178799790648df7a1b21c94953d2762945a8f3ecb1b7963feed5ee32b308356e53fcfd09a7d29b5998b0dcc
|
data/lib/css_zero/version.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
<%% if alert.present? %>
|
2
|
-
<div popover class="flash" style="--flash-position: 5rem
|
2
|
+
<div popover="manual" class="flash" style="--flash-position: 5rem" data-controller="flash" data-action="animationend->flash#hide" role="alert">
|
3
|
+
<div class="flash__content"><%%= alert %></div>
|
4
|
+
</div>
|
3
5
|
<%% end %>
|
4
6
|
|
5
7
|
<h1 class="font-bold text-4xl mbe-4">Update your password</h1>
|
@@ -8,4 +10,4 @@
|
|
8
10
|
<%%= form.password_field :password, required: true, autocomplete: "new-password", placeholder: "Enter new password", maxlength: 72, class: "input" %>
|
9
11
|
<%%= form.password_field :password_confirmation, required: true, autocomplete: "new-password", placeholder: "Repeat new password", maxlength: 72, class: "input" %>
|
10
12
|
<%%= form.submit "Save", class: "btn btn--primary i-min" %>
|
11
|
-
<%% end %>
|
13
|
+
<%% end %>
|
@@ -1,5 +1,7 @@
|
|
1
1
|
<%% if alert.present? %>
|
2
|
-
<div popover class="flash" style="--flash-position: 5rem
|
2
|
+
<div popover="manual" class="flash" style="--flash-position: 5rem" data-controller="flash" data-action="animationend->flash#hide" role="alert">
|
3
|
+
<div class="flash__content"><%%= alert %></div>
|
4
|
+
</div>
|
3
5
|
<%% end %>
|
4
6
|
|
5
7
|
<h1 class="font-bold text-4xl mbe-4">Forgot your password?</h1>
|
@@ -1,9 +1,13 @@
|
|
1
1
|
<%% if alert.present? %>
|
2
|
-
<div popover class="flash" style="--flash-position: 5rem
|
2
|
+
<div popover="manual" class="flash" style="--flash-position: 5rem" data-controller="flash" data-action="animationend->flash#hide" role="alert">
|
3
|
+
<div class="flash__content"><%%= alert %></div>
|
4
|
+
</div>
|
3
5
|
<%% end %>
|
4
6
|
|
5
7
|
<%% if notice.present? %>
|
6
|
-
<div popover class="flash" style="--flash-position: 5rem
|
8
|
+
<div popover="manual" class="flash" style="--flash-position: 5rem" data-controller="flash" data-action="animationend->flash#hide" role="alert">
|
9
|
+
<div class="flash__content"><%%= notice %></div>
|
10
|
+
</div>
|
7
11
|
<%% end %>
|
8
12
|
|
9
13
|
<h1 class="font-bold text-4xl mbe-4">Sign in</h1>
|
@@ -16,4 +20,4 @@
|
|
16
20
|
<%%= form.submit "Sign in", class: "btn btn--primary" %>
|
17
21
|
<%%= link_to "Forgot password?", new_password_path, class: "text-sm font-medium underline" %>
|
18
22
|
</div>
|
19
|
-
<%% end %>
|
23
|
+
<%% end %>
|