viniBaxter-spa-nested_has_many 300.0.1 → 300.0.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cd0e1eec122ee30cd76c2cbcdb1cbf2cee4a9f00b74705254edaa7b3b9db008
|
4
|
+
data.tar.gz: 9c0959caf3bf0404e998c64fefb14a4b9653bd01ce3f37038d81d9dd71ccc278
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a14f451d089ba905ac0a9e699aea67943fe390ff843cc468e005d029cacbaafbd1229557d6be5637a33a6c3414eab44b36b7327ad4fa11a1820ced089294a77e
|
7
|
+
data.tar.gz: 6e7b4e40380670c4012ca971d4a5fb10e2396bda4a7a28f8e88593ade796d64b187c6db477712725fa629b0c91159a9b01442020e2b3576e957730ee04c75365
|
@@ -8,17 +8,20 @@
|
|
8
8
|
padding-bottom: 0.3em;
|
9
9
|
}
|
10
10
|
|
11
|
-
.remove_fields,
|
11
|
+
.remove_fields,
|
12
|
+
.add_fields {
|
12
13
|
float: right;
|
13
14
|
}
|
14
15
|
}
|
15
|
-
|
16
|
+
|
17
|
+
.row.field-unit--nested.field-unit--nested_period_selected_ranges {
|
16
18
|
padding-bottom: 1.5rem;
|
17
19
|
position: relative;
|
18
20
|
}
|
19
|
-
|
21
|
+
|
22
|
+
.btn-fixed_period_selected_ranges {
|
20
23
|
margin-top: 1.5rem;
|
21
24
|
position: absolute;
|
22
25
|
bottom: 0;
|
23
26
|
right: 0;
|
24
|
-
}
|
27
|
+
}
|
@@ -1,17 +1,54 @@
|
|
1
|
-
<div class="nested-fields nested-fields_<%= field.attribute %>
|
1
|
+
<div class="nested-fields nested-fields_<%= field.attribute %> w-100">
|
2
2
|
<div class="card light-shadow">
|
3
3
|
<div class="card-body dfsfqsff">
|
4
|
-
<% if
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
<% if giveArrayOrderedField(field,f)[:non_date_array].any? %>
|
5
|
+
<div class="row mt-2">
|
6
|
+
<% giveArrayOrderedField(field,f)[:non_date_array].each do |attribute| -%>
|
7
|
+
<div class="col-<%= giveArrayOrderedField(field,f)[:non_date_array].count > 1 ? 6 : 12 %>">
|
8
|
+
<div class="form-group field-unit field-unit--<%= attribute.html_class %>">
|
9
|
+
<%= render_field attribute, f: f, page: @page %>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<% end -%>
|
13
|
+
</div>
|
14
|
+
<%end %>
|
15
|
+
<% if giveArrayOrderedField(field,f)[:date_array].any? %>
|
16
|
+
<div class="row mt-2">
|
17
|
+
<% giveArrayOrderedField(field,f)[:date_array].each do |attribute| -%>
|
18
|
+
<div class="col-6">
|
19
|
+
<div class="form-group field-unit field-unit--<%= attribute.html_class %>">
|
20
|
+
<%= render_field attribute, f: f, page: @page %>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<% end -%>
|
24
|
+
</div>
|
25
|
+
<%end %>
|
26
|
+
<% if giveArrayOrderedField(field,f)[:text_form_array].any? %>
|
27
|
+
<div class="row mt-2">
|
28
|
+
<% giveArrayOrderedField(field,f)[:text_form_array].each do |attribute| -%>
|
29
|
+
<div class="col-12">
|
30
|
+
<div class="form-group field-unit field-unit--<%= attribute.html_class %>">
|
31
|
+
<%= render_field attribute, f: f, page: @page %>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
<% end -%>
|
35
|
+
</div>
|
36
|
+
<%end %>
|
37
|
+
<% if giveArrayOrderedField(field,f)[:assets_array].any? %>
|
38
|
+
<div class="row mt-2">
|
39
|
+
<% giveArrayOrderedField(field,f)[:assets_array].each do |attribute| -%>
|
40
|
+
<div class="col-12">
|
41
|
+
<div class="form-group field-unit field-unit--<%= attribute.html_class %>">
|
42
|
+
<%= render_field attribute, f: f, page: @page %>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
<% end -%>
|
46
|
+
</div>
|
10
47
|
<%end %>
|
11
|
-
<% if
|
12
|
-
<div class="row">
|
13
|
-
<%
|
14
|
-
<div class="col-12
|
48
|
+
<% if giveArrayOrderedField(field,f)[:boolean_form_array].any? %>
|
49
|
+
<div class="row mt-2">
|
50
|
+
<% giveArrayOrderedField(field,f)[:boolean_form_array].each do |attribute| -%>
|
51
|
+
<div class="col-12">
|
15
52
|
<div class="form-group field-unit field-unit--<%= attribute.html_class %>">
|
16
53
|
<%= render_field attribute, f: f, page: @page %>
|
17
54
|
</div>
|
data/lib/viniBaxter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: viniBaxter-spa-nested_has_many
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 300.0.
|
4
|
+
version: 300.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vini baxter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: administrate
|