easy-admin-rails 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e4ac8d05fd7b8b98a9b0dbaf91dac4adbe81d74c9810fea9e33109d37ef0cdc
|
4
|
+
data.tar.gz: fb32068394c78d4fe2a0cd937c3a5e7b3c0db314d38f06125408ed4a3e86394d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 250cb7801b3400c293670f50e075391e4b67a7c65a3f34d50d5fe0e0c43b218ac19d81bedf74914f2165082f44c0189ef35e5727056181d81a9372d391ceb627
|
7
|
+
data.tar.gz: 1fd7d7480949532bdbb683e7f1f2ca9539d0ea399d421471a812e629e4af7c2ace5f111d5783a3df72d0541bad5fa543a771ffb73ca8b50a79eda71746a6db3a
|
@@ -49,19 +49,6 @@ module EasyAdmin
|
|
49
49
|
SVG
|
50
50
|
h3(class: "mt-2 text-sm font-semibold text-gray-900") { "No #{@resource_class.title.downcase}" }
|
51
51
|
p(class: "mt-1 text-sm text-gray-500") { "Get started by creating a new #{@resource_class.singular_title.downcase}." }
|
52
|
-
div(class: "mt-6") do
|
53
|
-
a(
|
54
|
-
href: easy_admin_url_helpers.new_resource_path(@resource_class.route_key),
|
55
|
-
class: "inline-flex items-center rounded-md bg-blue-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600"
|
56
|
-
) do
|
57
|
-
unsafe_raw <<~SVG
|
58
|
-
<svg class="-ml-0.5 mr-1.5 h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
|
59
|
-
<path d="M10.75 4.75a.75.75 0 00-1.5 0v4.5h-4.5a.75.75 0 000 1.5h4.5v4.5a.75.75 0 001.5 0v-4.5h4.5a.75.75 0 000-1.5h-4.5v-4.5z"/>
|
60
|
-
</svg>
|
61
|
-
SVG
|
62
|
-
"New #{@resource_class.singular_title}"
|
63
|
-
end
|
64
|
-
end
|
65
52
|
end
|
66
53
|
end
|
67
54
|
|
@@ -85,4 +72,4 @@ module EasyAdmin
|
|
85
72
|
end
|
86
73
|
end
|
87
74
|
end
|
88
|
-
end
|
75
|
+
end
|
data/lib/easy_admin/version.rb
CHANGED