daisy_devise 0.0.1 → 0.0.3
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f2b7b10dfa3a0de3cbfe326611ff57ac1ad414d02ff6429ee15860cf1349d93b
|
|
4
|
+
data.tar.gz: dcce241819b25db7299a7009d9d6979a337de095dfc09236d8e60566896dc9c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f12a84c6f244fe35508747f78ea4261faf228602f8de57e50306f5dda75bdd8453e1723415fc906a3cda168db71bdd8313ccfb066fdbb096a5d86d59beae3bc7
|
|
7
|
+
data.tar.gz: e6a157e151340274f2a802dddbc6fba7426895329f0507a9b17ca6862fa778cbcc910250cd877182f13baac2738a634a446b6ca87460a0c3b2083773a47f53f4
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
|
|
7
7
|
<%= render "devise/shared/error_messages", resource: resource %>
|
|
8
8
|
|
|
9
|
-
<div class="
|
|
10
|
-
<%= f.label :email, class: "label"
|
|
9
|
+
<div class="flex flex-col gap-2 mb-4">
|
|
10
|
+
<%= f.label :email, class: "label" %>
|
|
11
11
|
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "input" %>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
<div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div>
|
|
16
16
|
<% end %>
|
|
17
17
|
|
|
18
|
-
<div class="
|
|
19
|
-
<%= f.label :password, class: "label" %> <i>(leave blank if you don't want to change it)</i
|
|
18
|
+
<div class="flex flex-col gap-2 mb-4">
|
|
19
|
+
<%= f.label :password, class: "label" %> <i>(leave blank if you don't want to change it)</i>
|
|
20
20
|
<%= f.password_field :password, autocomplete: "new-password", class: "input" %>
|
|
21
21
|
<% if @minimum_password_length %>
|
|
22
22
|
<br />
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
<% end %>
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
|
-
<div class="
|
|
28
|
-
<%= f.label :password_confirmation, class: "label"
|
|
27
|
+
<div class="flex flex-col gap-2 mb-4">
|
|
28
|
+
<%= f.label :password_confirmation, class: "label" %>
|
|
29
29
|
<%= f.password_field :password_confirmation, autocomplete: "new-password", class: "input" %>
|
|
30
30
|
</div>
|
|
31
31
|
|
|
32
32
|
<div class="field mb-4">
|
|
33
|
-
<%= f.label :current_password, class: "label" %> <i>(we need your current password to confirm your changes)</i
|
|
33
|
+
<%= f.label :current_password, class: "label" %> <i>(we need your current password to confirm your changes)</i>
|
|
34
34
|
<%= f.password_field :current_password, autocomplete: "current-password", class: "input" %>
|
|
35
35
|
</div>
|
|
36
36
|
|
|
@@ -1,37 +1,32 @@
|
|
|
1
1
|
<div class="w-full min-h-[100vh] pt-24">
|
|
2
|
-
<
|
|
3
|
-
<
|
|
2
|
+
<fieldset class="fieldset bg-base-200 border-base-300 rounded-box w-lg border p-4 mx-auto">
|
|
3
|
+
<legend class="fieldset-legend">Sign up</legend>
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
<%=
|
|
7
|
-
<%= render "devise/shared/error_messages", resource: resource %>
|
|
5
|
+
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
|
|
6
|
+
<%= render "devise/shared/error_messages", resource: resource %>
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<div class="field mb-4">
|
|
15
|
-
<%= f.label :password, class: "label" %>
|
|
16
|
-
<% if @minimum_password_length %>
|
|
17
|
-
<em>(<%= @minimum_password_length %> characters minimum)</em>
|
|
18
|
-
<% end %><br />
|
|
19
|
-
<%= f.password_field :password, autocomplete: "new-password", class: "input" %>
|
|
20
|
-
</div>
|
|
8
|
+
<div class="flex flex-col mb-6 gap-2">
|
|
9
|
+
<%= f.label :email, class: "label" %>
|
|
10
|
+
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "input w-full" %>
|
|
11
|
+
</div>
|
|
21
12
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
<div class="flex flex-col mb-6 gap-2">
|
|
14
|
+
<%= f.label :password, class: "label" %>
|
|
15
|
+
<%= f.password_field :password, autocomplete: "new-password", class: "input w-full" %>
|
|
16
|
+
</div>
|
|
26
17
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
<div class="flex flex-col mb-6 gap-2">
|
|
19
|
+
<%= f.label :password_confirmation, class: "label" %>
|
|
20
|
+
<%= f.password_field :password_confirmation, autocomplete: "new-password", class: "input w-full" %>
|
|
21
|
+
</div>
|
|
31
22
|
|
|
32
|
-
<div class="
|
|
33
|
-
<%=
|
|
23
|
+
<div class="actions">
|
|
24
|
+
<%= f.submit "Sign up", class: "btn btn-primary" %>
|
|
34
25
|
</div>
|
|
26
|
+
<% end %>
|
|
27
|
+
|
|
28
|
+
<div class="flex flex-col items-center mt-4 gap-4">
|
|
29
|
+
<%= render "devise/shared/links" %>
|
|
35
30
|
</div>
|
|
36
31
|
</div>
|
|
37
32
|
</div>
|
|
@@ -1,33 +1,31 @@
|
|
|
1
|
-
<div class="w-full min-h-
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
<div class="field mb-4">
|
|
13
|
-
<%= f.label :password, class: "label" %><br />
|
|
14
|
-
<%= f.password_field :password, autocomplete: "current-password", class: "input" %>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<% if devise_mapping.rememberable? %>
|
|
18
|
-
<div class="field mb-4">
|
|
19
|
-
<%= f.check_box :remember_me, class: "checkbox" %>
|
|
20
|
-
<%= f.label :remember_me, class: "label" %>
|
|
21
|
-
</div>
|
|
22
|
-
<% end %>
|
|
1
|
+
<div class="w-full min-h-screen pt-24">
|
|
2
|
+
<fieldset class="fieldset bg-base-200 border-base-300 rounded-box w-lg border p-4 mx-auto">
|
|
3
|
+
<legend class="fieldset-legend">Login</legend>
|
|
4
|
+
|
|
5
|
+
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
|
6
|
+
<div class="w-full flex flex-col mb-6 gap-2">
|
|
7
|
+
<%= f.label :email, class: "label" %>
|
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "input w-full" %>
|
|
9
|
+
</div>
|
|
23
10
|
|
|
24
|
-
|
|
25
|
-
|
|
11
|
+
<div class="w-full flex flex-col mb-6 gap-2">
|
|
12
|
+
<%= f.label :password, class: "label" %>
|
|
13
|
+
<%= f.password_field :password, autocomplete: "current-password", class: "input w-full" %>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<% if devise_mapping.rememberable? %>
|
|
17
|
+
<div class="w-full flex gap-4 mb-6 gap-2">
|
|
18
|
+
<%= f.check_box :remember_me, class: "checkbox" %>
|
|
19
|
+
<%= f.label :remember_me, class: "label" %>
|
|
26
20
|
</div>
|
|
27
21
|
<% end %>
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
|
|
23
|
+
<div class="actions w-full">
|
|
24
|
+
<%= f.submit "Log in", class: "btn btn-primary" %>
|
|
30
25
|
</div>
|
|
26
|
+
<% end %>
|
|
27
|
+
<div class="flex flex-col items-center mt-4 gap-4">
|
|
28
|
+
<%= render "devise/shared/links" %>
|
|
31
29
|
</div>
|
|
32
|
-
</
|
|
30
|
+
</fieldset>
|
|
33
31
|
</div>
|