tybo 0.3.13 → 0.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/bo/templates/index.html.erb +9 -9
- data/lib/tybo/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbb1b85f287a357ffbca03b7ff75ed5b6160107dbb8ab1b97d89d996a3371a8c
|
4
|
+
data.tar.gz: c39c5716985f3e75d3b0a6a128f26590835c7ccf170de13a3a73da6c36b05050
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96ca2da1ca7f48dbefae1e4d5aec16192d99a0484af2c1a844fe14ad70a8e97e2099b37f1d958271a8432e60178ff8b794f7ed511a7b934817f5715114d1c11b
|
7
|
+
data.tar.gz: d41b02c6dbefacd9dcb9dbf756c3077458a165a4f602ee6af573248b8b03ff9e0595fdd86e30dc3f91070641fe84537f673a0e7166a9895f7437a8f9de02b770
|
@@ -1,17 +1,17 @@
|
|
1
1
|
<%%= render(IndexComponent.new) do |index| %>
|
2
2
|
<!-- Header -->
|
3
|
-
<%%=
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
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
|
-
|
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
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.
|
4
|
+
version: 0.3.15
|
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:
|
12
|
+
date: 2024-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: 3.9.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 3.9.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: ransack
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|