administration-zero 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/administration_zero/version.rb +1 -1
- data/lib/generators/admin/install/templates/erb/admin/users/index.html.erb +2 -2
- data/lib/generators/admin/install/templates/erb/admin/users/show.html.erb +1 -1
- data/lib/generators/admin/scaffold/templates/erb/index.html.erb.tt +1 -1
- data/lib/generators/admin/scaffold/templates/erb/show.html.erb.tt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1262058b2e76e6b4e80b03390f07439cdf2c5734de1eb3ae2e3dcd79d30ded52
|
4
|
+
data.tar.gz: 0c5a2ea1b24df7f367d6b37144370f9df0df0e071de0ae2acf08a6fe6d21270c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58cb7fe33173e0a58f62684b65ff9477526956e366411a5e2427a4093f3b01cf86ec2ec5908c9529c7e5ef0edd1da522bca552f2ab3bc1f731ad902d7d5ffab7
|
7
|
+
data.tar.gz: d3bec811c90c09b6b051a50fefdc09aafbed7290d14d06d739839376c19c1c2f037dfe80298801d929e477cfa5288872bbe2cdcf0ae30f3dc6cb916119f0e548
|
data/Gemfile.lock
CHANGED
@@ -31,7 +31,7 @@
|
|
31
31
|
<td>
|
32
32
|
<%= link_to "View", admin_user, class: "btn btn-light btn-sm" %>
|
33
33
|
<%= link_to "Edit", edit_admin_user_path(admin_user), class: "btn btn-light btn-sm" %>
|
34
|
-
<%= button_to "Delete", admin_user, method: :delete, data
|
34
|
+
<%= button_to "Delete", admin_user, method: :delete, "data-confirm": "Are you sure?", form_class: "d-inline", class: "btn btn-light btn-sm" %>
|
35
35
|
</td>
|
36
36
|
</tr>
|
37
37
|
<% end %>
|
@@ -40,7 +40,7 @@
|
|
40
40
|
</div>
|
41
41
|
<div class="card-footer d-flex align-items-center fs-5">
|
42
42
|
<div class="d-none d-md-block">
|
43
|
-
<div>Download: <%= link_to "CSV",
|
43
|
+
<div>Download: <%= link_to "CSV", admin_users_path(format: :csv, q: request.params[:q]) %></div>
|
44
44
|
<%== pagy_info @pagy %>
|
45
45
|
</div>
|
46
46
|
<div class="ms-auto">
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
<%= render "page_header_actions" do %>
|
8
8
|
<%= link_to "Edit admin user", edit_admin_user_path(@admin_user), class: "btn btn-primary" %>
|
9
|
-
<%= button_to "Delete admin user", @admin_user, method: :delete, data
|
9
|
+
<%= button_to "Delete admin user", @admin_user, method: :delete, "data-confirm": "Are you sure?", form_class: "d-inline", class: "btn btn-light" %>
|
10
10
|
<% end %>
|
11
11
|
<% end %>
|
12
12
|
|
@@ -39,7 +39,7 @@
|
|
39
39
|
<td>
|
40
40
|
<%%= link_to "View", <%= model_resource_name %>, class: "btn btn-light btn-sm" %>
|
41
41
|
<%%= link_to "Edit", <%= edit_helper(singular_table_name, type: :path) %>, class: "btn btn-light btn-sm" %>
|
42
|
-
<%%= button_to "Delete", <%= model_resource_name %>, method: :delete, form_class: "d-inline", class: "btn btn-light btn-sm"
|
42
|
+
<%%= button_to "Delete", <%= model_resource_name %>, method: :delete, "data-confirm": "Are you sure?", form_class: "d-inline", class: "btn btn-light btn-sm" %>
|
43
43
|
</td>
|
44
44
|
</tr>
|
45
45
|
<%% end %>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
<%%= render "page_header_actions" do %>
|
8
8
|
<%%= link_to "Edit <%= human_name.downcase %>", <%= edit_helper(type: :path) %>, class: "btn btn-primary" %>
|
9
|
-
<%%= button_to "Delete <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %>, method: :delete, form_class: "d-inline", class: "btn btn-light"
|
9
|
+
<%%= button_to "Delete <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %>, method: :delete, "data-confirm": "Are you sure?", form_class: "d-inline", class: "btn btn-light" %>
|
10
10
|
<%% end %>
|
11
11
|
<%% end %>
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: administration-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nixon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|