active_element 0.0.7 → 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/app/assets/javascripts/active_element/setup.js +1 -1
- data/app/views/active_element/components/form/_check_boxes.html.erb +1 -1
- data/app/views/active_element/forbidden.html.erb +1 -1
- data/app/views/layouts/active_element.html.erb +4 -0
- data/lib/active_element/version.rb +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: f4d28d28ac920165e5c9c80981ffa6c1d165cd6a625e41f887adf3f93534459f
|
4
|
+
data.tar.gz: bfa35553e5303ef8edec759eca6411a0af4c41dfd8b0eaea05334276ad7e121b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9804b1aed67d46c950ab9a5a1352534f9c67766c519ff818bd9db885063e3aac6191e08d335783ff038d38dff50b31f5813d454448f52105b31ab2871a10ef2a
|
7
|
+
data.tar.gz: d93fb9ff37a73b9f4b648b5b63f37b0cd5c4a0650e06261f24ef4ffc094f3c099c43e661f38dca89a7348eb15aac63f94c029892e546c9ecb25751d4925bfa49
|
data/Gemfile.lock
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<% options[:option_groups].each do |group_title, group, group_options| %>
|
3
3
|
<div class="p-3">
|
4
4
|
<a name="<%= ActiveElement::Components::Util::I18n.class_name(group_title) %>"></a>
|
5
|
-
<%= component.page_section_title group_title %>
|
5
|
+
<%= active_element.component.page_section_title group_title %>
|
6
6
|
<%= form.fields_for field do |subform| %>
|
7
7
|
<% group.each do |label, name, checked| %>
|
8
8
|
<%= subform.check_box(name, checked: checked, class: 'me-2') %>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<div>
|
11
11
|
<ul style="list-style-type: none;">
|
12
12
|
<% missing_permissions.each do |missing_permission| %>
|
13
|
-
<li class="font-monospace"><%= missing_permission %></li>
|
13
|
+
<li class="font-monospace"><%= missing_permission[:with] %></li>
|
14
14
|
<% end %>
|
15
15
|
</ul>
|
16
16
|
</div>
|
@@ -6,6 +6,10 @@
|
|
6
6
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" integrity="sha512-fD9DI5bZwQxOi7MhYWnnNPlvXdp/2Pj3XSTRrFs5FQa4mizyGLnJcN6tuvUS6LbmgN1ut+XGSABKvjN0H6Aoow==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
7
7
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.9.2/umd/popper.min.js" integrity="sha512-2rNj2KJ+D8s1ceNasTIex6z4HWyOnEYLVC3FigGOmyQCZc2eBXKgOxQmo3oKLHyfcj53uz4QMsRCWNbLd32Q1g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
8
8
|
|
9
|
+
<script>
|
10
|
+
window.ActiveElement = window.ActiveElement || {};
|
11
|
+
</script>
|
12
|
+
|
9
13
|
<%= stylesheet_link_tag 'active_element/application', 'data-turbolinks-track': 'reload' %>
|
10
14
|
|
11
15
|
<% if Rails.application.assets.find_asset('application.css').present? %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_element
|
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
|
- Bob Farrell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap
|