tailwindcss-rails 2.7.6-x64-mingw-ucrt → 2.7.8-x64-mingw-ucrt

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: 1118a557f3856677dc006b9374a6bb45ba3c232e3132d88f5efeac56d83018ea
4
- data.tar.gz: a8165ea498e59eed8cd1dd703c0e47fefed531cfc703e4c76f59277559b29837
3
+ metadata.gz: 4d9c81e354396a40533254130b96ebf350b5f0525b221f5d84ff7a95eeeea20c
4
+ data.tar.gz: e8416f374b84165b588adcd87e774002e1d276c7ce729a1d31801a514d9e14ea
5
5
  SHA512:
6
- metadata.gz: 9b21fea52dc01320e0f14e1ed45a2b6b20232e726156aa3fbd809d1f3fc4dd0b6380d26a7c9e228a61633fbd878bd729f5bc874dd7f8c6db23c8e2686146bda6
7
- data.tar.gz: 1e2dacec476457e2f05f332983da063913633105fc97008286a38b867297b8b4abf52713012c9e5a811d4cfef539039393c6ff0894e3e9891bdd4d22b41fbc0c
6
+ metadata.gz: 755ff659a86e1980080bc8b678c2cb6e8549f9f69069cef56c9b8cd0f108771f14bea5881f827ca1baef3d221dae6ed13e90e7d5949f975f1b1d6ce93ce26482
7
+ data.tar.gz: c6fcb2057d0632c8beba02d41be5b5cda57a3a3468d02d25efc10a277918014568f83d75b6cf432da3931f8c727d0deaa3b9f4ea54a6d56d4833105580e9b549
@@ -0,0 +1,21 @@
1
+ <div class="mx-auto md:w-2/3 w-full">
2
+ <%% if alert = flash[:alert] %>
3
+ <p class="py-2 px-3 bg-red-50 mb-5 text-red-500 font-medium rounded-lg inline-block" id="alert"><%%= alert %></p>
4
+ <%% end %>
5
+
6
+ <h1 class="font-bold text-4xl">Update your password</h1>
7
+
8
+ <%%= form_with url: password_path(params[:token]), method: :put, class: "contents" do |form| %>
9
+ <div class="my-5">
10
+ <%%= form.password_field :password, required: true, autocomplete: "new-password", placeholder: "Enter new password", maxlength: 72, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
11
+ </div>
12
+
13
+ <div class="my-5">
14
+ <%%= form.password_field :password_confirmation, required: true, autocomplete: "new-password", placeholder: "Repeat new password", maxlength: 72, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
15
+ </div>
16
+
17
+ <div class="inline">
18
+ <%%= form.submit "Save", class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %>
19
+ </div>
20
+ <%% end %>
21
+ </div>
@@ -0,0 +1,17 @@
1
+ <div class="mx-auto md:w-2/3 w-full">
2
+ <%% if alert = flash[:alert] %>
3
+ <p class="py-2 px-3 bg-red-50 mb-5 text-red-500 font-medium rounded-lg inline-block" id="alert"><%%= alert %></p>
4
+ <%% end %>
5
+
6
+ <h1 class="font-bold text-4xl">Forgot your password?</h1>
7
+
8
+ <%%= form_with url: passwords_path, class: "contents" do |form| %>
9
+ <div class="my-5">
10
+ <%%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "username", placeholder: "Enter your email address", value: params[:email_address], class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
11
+ </div>
12
+
13
+ <div class="inline">
14
+ <%%= form.submit "Email reset instructions", class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %>
15
+ </div>
16
+ <%% end %>
17
+ </div>
@@ -0,0 +1,31 @@
1
+ <div class="mx-auto md:w-2/3 w-full">
2
+ <%% if alert = flash[:alert] %>
3
+ <p class="py-2 px-3 bg-red-50 mb-5 text-red-500 font-medium rounded-lg inline-block" id="alert"><%%= alert %></p>
4
+ <%% end %>
5
+
6
+ <%% if notice = flash[:notice] %>
7
+ <p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%%= notice %></p>
8
+ <%% end %>
9
+
10
+ <h1 class="font-bold text-4xl">Sign in</h1>
11
+
12
+ <%%= form_with url: session_url, class: "contents" do |form| %>
13
+ <div class="my-5">
14
+ <%%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "username", placeholder: "Enter your email address", value: params[:email_address], class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
15
+ </div>
16
+
17
+ <div class="my-5">
18
+ <%%= form.password_field :password, required: true, autocomplete: "current-password", placeholder: "Enter your password", maxlength: 72, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
19
+ </div>
20
+
21
+ <div class="col-span-6 sm:flex sm:items-center sm:gap-4">
22
+ <div class="inline">
23
+ <%%= form.submit "Sign in", class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %>
24
+ </div>
25
+
26
+ <div class="mt-4 text-sm text-gray-500 sm:mt-0">
27
+ <%%= link_to "Forgot password?", new_password_path, class: "text-gray-700 underline" %>
28
+ </div>
29
+ </div>
30
+ <%% end %>
31
+ </div>
@@ -28,7 +28,7 @@
28
28
  <%%= form.label :<%= attribute.column_name %> %>
29
29
  <% if attribute.field_type == :text_area -%>
30
30
  <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, rows: 4, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
31
- <% elsif attribute.field_type == :check_box -%>
31
+ <% elsif attribute.field_type == :checkbox -%>
32
32
  <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, class: "block mt-2 h-5 w-5" %>
33
33
  <% else -%>
34
34
  <%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "2.7.6"
2
+ VERSION = "2.7.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwindcss-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.6
4
+ version: 2.7.8
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-23 00:00:00.000000000 Z
11
+ date: 2024-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -56,6 +56,9 @@ files:
56
56
  - exe/tailwindcss
57
57
  - exe/x64-mingw-ucrt/tailwindcss
58
58
  - lib/generators/tailwindcss/authentication/authentication_generator.rb
59
+ - lib/generators/tailwindcss/authentication/templates/app/views/passwords/edit.html.erb
60
+ - lib/generators/tailwindcss/authentication/templates/app/views/passwords/new.html.erb
61
+ - lib/generators/tailwindcss/authentication/templates/app/views/sessions/new.html.erb
59
62
  - lib/generators/tailwindcss/authentication/templates/views/passwords/edit.html.erb
60
63
  - lib/generators/tailwindcss/authentication/templates/views/passwords/new.html.erb
61
64
  - lib/generators/tailwindcss/authentication/templates/views/sessions/new.html.erb