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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e828c8e9e9abc00c751fbcd4ea59d9360d68a1e30d75eda34ab0a9af10efa963
4
- data.tar.gz: d7d9f93d7abe14f888d38b961655dbe52104086f59065558c70135e5963aaa9f
3
+ metadata.gz: fb1433d2c50a085d918237d5bc5d97ccbec4ced42f3e9eacb9733e7cbbc31886
4
+ data.tar.gz: d437b1b33f64effa574d1e2c4d38fd11c37d450fabc39769f72241c8c9f3ee64
5
5
  SHA512:
6
- metadata.gz: ac501ab34ecfe07b95d378678a918a88118e7b2fc6e57b4d396eb75bfcfc65d4690242f555e4bafed20e61e6d0982755760668fd0c040c09b959f80d1e3daa51
7
- data.tar.gz: 6d2e3839592209b39c82cc1f69d6e840c4817233a5a904767e1035a87a857b88a27d991bbdee47234bfbb5c81d2c43e7d3e23b3171a6cf907eaa108975689c8e
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: label_classes %>
13
- <%= f.email_field :email, autofocus: true, autocomplete: "email", class: input_classes,
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: label_classes %>
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: input_classes %>
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: label_classes %>
22
- <%= f.password_field :password_confirmation, autocomplete: "new-password", class: input_classes %>
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: label_classes %>
13
- <%= f.email_field :email, autofocus: true, autocomplete: "email", class: input_classes %>
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: label_classes %>
12
- <%= f.email_field :email, autofocus: true, autocomplete: "email", class: input_classes %>
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: label_classes %>
17
- <%= f.password_field :password, autocomplete: "current-password", class: input_classes %>
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: label_classes %>
13
- <%= f.email_field :email, autofocus: true, autocomplete: "email", class: input_classes %>
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">
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module Tailwinded
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
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
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-10 00:00:00.000000000 Z
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.1
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