bullet_train-themes 1.0.5 → 1.0.8
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: 603c130eb0c650706cddef6748d4da92887bb84a7121ad2ca7f391506b79c7a1
|
4
|
+
data.tar.gz: 0b8c92c280c885d72a2dbabbf2c34dd332742c0d0c94fd58c662573265f80ab0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c75ea62cd0dd1cf072df53b52bb7b95382d6b1742ec30fd283e5f514e1aac3b98d4f187c41fe2b628d9af47ba5e52869860e46ba298d72f34fd121ec3596e2c9
|
7
|
+
data.tar.gz: 1fa8527d5270ad52c41b423750f91b4001dbfe1796dba91aca3332ec36fb630397a2bc2f85fbc28068120cb8ab2780cbf3ea0fdfb5640af5a1a14d4ec9496bc1
|
data/MIT-LICENSE
CHANGED
@@ -5,6 +5,6 @@
|
|
5
5
|
<% if object.send(attribute).present? %>
|
6
6
|
<%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %>
|
7
7
|
<% # `.to_s` is for action text. %>
|
8
|
-
<%=
|
8
|
+
<%= html_sanitize(object.send(attribute).to_s).html_safe %>
|
9
9
|
<% end %>
|
10
10
|
<% end %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<% yield %>
|
1
|
+
<% yield p = np %>
|
2
2
|
|
3
3
|
<%
|
4
4
|
form ||= current_fields_form
|
@@ -23,6 +23,9 @@ other_options ||= {}
|
|
23
23
|
<%= render 'shared/fields/field', form: form, method: method, options: options, other_options: other_options do %>
|
24
24
|
<% content_for :field do %>
|
25
25
|
<%= form.rich_text_area method, options %>
|
26
|
+
<% if p.content_for? :submit_button %>
|
27
|
+
<%= p.content_for :submit_button %>
|
28
|
+
<% end %>
|
26
29
|
<% end %>
|
27
30
|
<% end %>
|
28
31
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|