tybo 0.3.13 → 0.3.14

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: a8c51aacabad77126c940b704dc844e6f9288195f3ebbf4f7d520cebad4d903d
4
- data.tar.gz: 6005f09dcfca2f82988eda0505231dbe11840b7d2130c626002ec71fa56a97c6
3
+ metadata.gz: dbf875c20d7f2d0f4478390c1a71cebd6a71eae76eae4b0e003fbaa7c81faa59
4
+ data.tar.gz: a1a3b084939755ea0b13e005136e9d061f9f68b05f417be1e983184349bba4fa
5
5
  SHA512:
6
- metadata.gz: 5498bb0066dc84ba321db87e2db4687a7246b89e0dce6cc5dfdda57248d9b2aa927569a98bddca3d6af21f12ded71857a4156ee81be7fb9b55cf70ec33e63192
7
- data.tar.gz: 7b24a8d9dc4a9d585a100d3f79085dc3bbfce72271bf38ca957b88abddbe389c5a829b6cf3241a23fb99b408140ad68c95605f7c4b36fd00880e240d80d15d7c
6
+ metadata.gz: 162c45a2160b0fde884972c2dc2bc8269a59fa180ae569ed963071a8abb75bad5cefe757614a9c6eed0b90d57e24981dfc4b51c934ef1010ed5f382283803666
7
+ data.tar.gz: 8547eb59a2a0288aaa8aaf3a5bd6e373833e3f71574a72ed1014acaf97f8a087ef3ee198c1be246e3938aa9166e5b7f8a820491977b949d0a09c4be87099cf17
@@ -1,17 +1,17 @@
1
1
  <%%= render(IndexComponent.new) do |index| %>
2
2
  <!-- Header -->
3
- <%%= turbo_frame_tag "<%= class_name.underscore.pluralize %>", target: '_top' do %>
4
- <%%= index.with_header(
5
- title: I18n.t('bo.<%= class_name.underscore %>.others').capitalize,
6
- subtitle: I18n.t('bo.<%= class_name.underscore %>.subtitle').capitalize,
7
- ) do |header| %>
8
- <%%= header.with_add_button(path: <%="new_#{options[:namespace]}_#{class_name.underscore}_path" %>) %>
9
- <%%= header.with_export_button(path: <%= "export_csv_#{options[:namespace]}_#{class_name.pluralize.underscore}_path(format: :csv, params: {q: params.permit!['q']})"%>)%>
10
- <%% end %>
3
+ <%%= index.with_header(
4
+ title: I18n.t('bo.<%= class_name.underscore %>.others').capitalize,
5
+ subtitle: I18n.t('bo.<%= class_name.underscore %>.subtitle').capitalize,
6
+ ) do |header| %>
7
+ <%%= header.with_add_button(path: <%="new_#{options[:namespace]}_#{class_name.underscore}_path" %>) %>
8
+ <%%= header.with_export_button(path: <%= "export_csv_#{options[:namespace]}_#{class_name.pluralize.underscore}_path(format: :csv, params: {q: params.permit!['q']})"%>)%>
9
+ <%% end %>
11
10
 
12
11
  <!-- Search Bar -->
13
- <%%= render('search_bar') %>
12
+ <%%= render('search_bar') %>
14
13
  <!-- Table -->
14
+ <%%= turbo_frame_tag "<%= class_name.underscore.pluralize %>", target: '_top' do %>
15
15
  <%%= render('table') %>
16
16
  <div class="py-2">
17
17
  <%%== render partial: 'shared/pagination', locals: { pagy: @pagy } %>
data/lib/tybo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tybo
2
- VERSION = '0.3.13'
2
+ VERSION = '0.3.14'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tybo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Delpierre
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-12-07 00:00:00.000000000 Z
12
+ date: 2024-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails