devise-tailwinded 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/devise/confirmations/new.html.erb +3 -8
- data/app/views/devise/passwords/edit.html.erb +4 -9
- data/app/views/devise/passwords/new.html.erb +2 -7
- data/app/views/devise/sessions/new.html.erb +5 -9
- data/app/views/devise/unlocks/new.html.erb +2 -7
- data/lib/devise/tailwinded/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb1433d2c50a085d918237d5bc5d97ccbec4ced42f3e9eacb9733e7cbbc31886
|
4
|
+
data.tar.gz: d437b1b33f64effa574d1e2c4d38fd11c37d450fabc39769f72241c8c9f3ee64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f7a4c93364be07e3f36d756d232ca9becb26a70d1c51b4ad8bdc4b1617bd538f4fafea7ca843b0d1f023e54669877c65a2b49e9e5a800d2768697ed9ad8e433
|
7
|
+
data.tar.gz: 7694f9980e5e1ecd97bbfeb6c169f2b71e1918936ff0fec09bed72c4e0c8e2dc5c913f398064754abc2ff0eedfe8d45c1a5518736bdaee43946cf7b79b90477c
|
@@ -3,14 +3,9 @@
|
|
3
3
|
<h2 class="text-center">Resend confirmation instructions</h2>
|
4
4
|
<%= render "devise/shared/error_messages", resource: resource %>
|
5
5
|
|
6
|
-
<%
|
7
|
-
label_classes = "block text-sm font-bold mb-2 #{alert ? "text-red-500" : "text-gray-700"}"
|
8
|
-
input_classes = "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline #{alert ? "border-red-500" : nil}"
|
9
|
-
%>
|
10
|
-
|
11
6
|
<div class="mb-4">
|
12
|
-
<%= f.label :email, "Email", class:
|
13
|
-
<%= f.email_field :email, autofocus: true, autocomplete: "email", class:
|
7
|
+
<%= f.label :email, "Email", class: "block text-sm font-bold mb-2 text-gray-700" %>
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline",
|
14
9
|
value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
|
15
10
|
</div>
|
16
11
|
|
@@ -20,4 +15,4 @@
|
|
20
15
|
<%= render "devise/shared/links" %>
|
21
16
|
</div>
|
22
17
|
<% end %>
|
23
|
-
</div>
|
18
|
+
</div>
|
@@ -4,22 +4,17 @@
|
|
4
4
|
<%= render "devise/shared/error_messages", resource: resource %>
|
5
5
|
<%= f.hidden_field :reset_password_token %>
|
6
6
|
|
7
|
-
<%
|
8
|
-
label_classes = "block text-sm font-bold mb-2 #{alert ? "text-red-500" : "text-gray-700"}"
|
9
|
-
input_classes = "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline #{alert ? "border-red-500" : nil}"
|
10
|
-
%>
|
11
|
-
|
12
7
|
<div class="mb-4">
|
13
|
-
<%= f.label :password, "New password", class:
|
8
|
+
<%= f.label :password, "New password", class: "block text-sm font-bold mb-2 text-gray-700" %>
|
14
9
|
<% if @minimum_password_length %>
|
15
10
|
<em class="block text-sm font-normal mb-2 text-gray-900">(<%= @minimum_password_length %> characters minimum)</em>
|
16
11
|
<% end %>
|
17
|
-
<%= f.password_field :password, autofocus: true, autocomplete: "new-password", class:
|
12
|
+
<%= f.password_field :password, autofocus: true, autocomplete: "new-password", class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" %>
|
18
13
|
</div>
|
19
14
|
|
20
15
|
<div class="mb-4">
|
21
|
-
<%= f.label :password_confirmation, "Confirm new password", class:
|
22
|
-
<%= f.password_field :password_confirmation, autocomplete: "new-password", class:
|
16
|
+
<%= f.label :password_confirmation, "Confirm new password", class: "block text-sm font-bold mb-2 text-gray-700" %>
|
17
|
+
<%= f.password_field :password_confirmation, autocomplete: "new-password", class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" %>
|
23
18
|
</div>
|
24
19
|
|
25
20
|
<div class="flex items-center justify-between content-end">
|
@@ -3,14 +3,9 @@
|
|
3
3
|
<h2 class="text-center">Forgot your password?</h2>
|
4
4
|
<%= render "devise/shared/error_messages", resource: resource %>
|
5
5
|
|
6
|
-
<%
|
7
|
-
label_classes = "block text-sm font-bold mb-2 #{alert ? "text-red-500" : "text-gray-700"}"
|
8
|
-
input_classes = "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline #{alert ? "border-red-500" : nil}"
|
9
|
-
%>
|
10
|
-
|
11
6
|
<div class="mb-4">
|
12
|
-
<%= f.label :email, "Email", class:
|
13
|
-
<%= f.email_field :email, autofocus: true, autocomplete: "email", class:
|
7
|
+
<%= f.label :email, "Email", class: "block text-sm font-bold mb-2 text-gray-700" %>
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" %>
|
14
9
|
</div>
|
15
10
|
|
16
11
|
<div class="flex items-center justify-between content-end">
|
@@ -3,18 +3,14 @@
|
|
3
3
|
<h2 class="text-center">Log in</h2>
|
4
4
|
<%= render "devise/shared/error_messages", resource: resource %>
|
5
5
|
|
6
|
-
<%
|
7
|
-
label_classes = "block text-sm font-bold mb-2 #{alert ? "text-red-500" : "text-gray-700"}"
|
8
|
-
input_classes = "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline #{alert ? "border-red-500" : nil}"
|
9
|
-
%>
|
10
6
|
<div class="mb-4">
|
11
|
-
<%= f.label :email, "Email", class:
|
12
|
-
<%= f.email_field :email, autofocus: true, autocomplete: "email", class:
|
7
|
+
<%= f.label :email, "Email", class: "block text-sm font-bold mb-2 text-gray-700" %>
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" %>
|
13
9
|
</div>
|
14
10
|
|
15
11
|
<div class="mb-4">
|
16
|
-
<%= f.label :password, "Password", class:
|
17
|
-
<%= f.password_field :password, autocomplete: "current-password", class:
|
12
|
+
<%= f.label :password, "Password", class: "block text-sm font-bold mb-2 text-gray-700" %>
|
13
|
+
<%= f.password_field :password, autocomplete: "current-password", class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" %>
|
18
14
|
</div>
|
19
15
|
|
20
16
|
<div class="flex items-center justify-between content-end">
|
@@ -22,4 +18,4 @@
|
|
22
18
|
<%= render "devise/shared/links" %>
|
23
19
|
</div>
|
24
20
|
<% end %>
|
25
|
-
</div>
|
21
|
+
</div>
|
@@ -3,14 +3,9 @@
|
|
3
3
|
<h2 class="text-center">Resend unlock instructions</h2>
|
4
4
|
<%= render "devise/shared/error_messages", resource: resource %>
|
5
5
|
|
6
|
-
<%
|
7
|
-
label_classes = "block text-sm font-bold mb-2 #{alert ? "text-red-500" : "text-gray-700"}"
|
8
|
-
input_classes = "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline #{alert ? "border-red-500" : nil}"
|
9
|
-
%>
|
10
|
-
|
11
6
|
<div class="mb-4">
|
12
|
-
<%= f.label :email, "Email", class:
|
13
|
-
<%= f.email_field :email, autofocus: true, autocomplete: "email", class:
|
7
|
+
<%= f.label :email, "Email", class: "block text-sm font-bold mb-2 text-gray-700" %>
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" %>
|
14
9
|
</div>
|
15
10
|
|
16
11
|
<div class="mb-4">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-tailwinded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Hill
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
|
-
rubygems_version: 3.0.
|
116
|
+
rubygems_version: 3.0.3
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: Generates nicer views for Devise that use Tailwind
|