tybo 0.0.19 → 0.0.21

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: e94f051ab3087c310930ff0bfcbccd7af7c1ecbc18a2886183aba92f887f70a9
4
- data.tar.gz: c78a6c55f1c47e2ee96d076b77d61196f05e29ab1149dd4cdb41ba5da058b90b
3
+ metadata.gz: 74bb5b582010bb0181564c54726c59d809207be9be11d21d401a75e6dfec1d49
4
+ data.tar.gz: 5baf8341ca26741ce38cecfa8eeac0cdacf8e9ac38de2ab225b9a8a5a7136d02
5
5
  SHA512:
6
- metadata.gz: 4887fdfec3231c7dc33bf959d109fb455aea53c5a8cbd831e66ad64bc8fd675fc0605157ba7935022e380e587dd16e24bd4b259cb380cae8e32d40d33f0e9b67
7
- data.tar.gz: 4b9d5524915bd8f4c814679aed82ba91bb2455044e8ea80108c190cc167b27bc528978dd6e5f455858002802333241ce346424e67260b599ac9fc880a5843505
6
+ metadata.gz: cb918064435897debc472a373f9731eac14b2ba3f6adf6ed384a0df2b242276162c2d5e455d3a4afc2ed2340f5245b284822e474f60b01af309745bf5a4a80c5
7
+ data.tar.gz: 7fc148dc7209afdb269270835c978c8c725ab0fcf9150f76cba3a4ff1750f65474a518f04b55018fadb6d3db77d1328c00bf77e48739595947b02093b8b17ca9
@@ -31,7 +31,7 @@
31
31
  </div>
32
32
 
33
33
  <div class="text-sm">
34
- <a href="<%= new_password_path(Administrator)%>" class="font-medium text-tybo-600 hover:text-tybo-500", data-turbo='false' >
34
+ <a href="<%= new_password_path(resource)%>" class="font-medium text-tybo-600 hover:text-tybo-500", data-turbo='false' >
35
35
  <%=I18n.t("devise.passwords.new.forgot_your_password")%>
36
36
  </a>
37
37
  </div>
@@ -6,9 +6,10 @@
6
6
  </div>
7
7
  <div class="mt-4">
8
8
  <% @resources.each do |resource| %>
9
- <a href="<%=send("new_#{resource.to_s}_session_path")%>" class="mt-2 flex w-full justify-center rounded-md border border-transparent bg-tybo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-tybo-700 focus:outline-none focus:ring-2 focus:ring-tybo-500 focus:ring-offset-2">
10
- <%=I18n.t("bo.devise.sign_in_as.#{resource.to_s}")%>
11
- </a>
9
+ <%= link_to I18n.t("bo.devise.sign_in_as.#{resource.to_s}"),
10
+ send("new_#{resource.to_s}_session_path"),
11
+ class:'mt-2 flex w-full justify-center rounded-md border border-transparent bg-tybo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-tybo-700 focus:outline-none focus:ring-2 focus:ring-tybo-500 focus:ring-offset-2',
12
+ data: { turbo: false } %>
12
13
  <% end %>
13
14
  </div>
14
15
  </div>
data/lib/tybo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tybo
2
- VERSION = '0.0.19'
2
+ VERSION = '0.0.21'
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tybo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Delpierre
8
8
  - Julien Camblan
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-02-17 00:00:00.000000000 Z
12
+ date: 2023-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -269,7 +269,7 @@ licenses:
269
269
  - MIT
270
270
  metadata:
271
271
  homepage_uri: https://rubygems.org/gems/tybo
272
- post_install_message:
272
+ post_install_message:
273
273
  rdoc_options: []
274
274
  require_paths:
275
275
  - lib
@@ -285,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
285
  version: '0'
286
286
  requirements: []
287
287
  rubygems_version: 3.0.3.1
288
- signing_key:
288
+ signing_key:
289
289
  specification_version: 4
290
290
  summary: A tailwind custom admin engine for Ruby on Rails
291
291
  test_files: []