bullet_train-themes 1.0.3 → 1.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: ce3869acc3151676694fade3b455ea078f986554e5846434dd81c5f351d6aefc
|
4
|
+
data.tar.gz: 59c65cb7b9a102271db21948b4eff4b2441045592c72126a7e5d2b3699117d63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b80ab6f49e1663d62001ad5ad7e9445e3a6bcdf88e470e724536718dfa80b78930dcb428de5ba82c6e1b9af35a38ddaa033c41f154b188301df43591911e336
|
7
|
+
data.tar.gz: 8d8f8e01ebefdca642df2c643fc08ff916fc8af4da93d5443f24d31de93cc5e1df0f4c72c062b40285daacf7c45553fa876cd72690c647eda2b7228394cafbe3
|
data/MIT-LICENSE
CHANGED
@@ -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>
|
data/lib/bullet_train/themes.rb
CHANGED
@@ -1,8 +1,17 @@
|
|
1
1
|
require "bullet_train/themes/version"
|
2
2
|
require "bullet_train/themes/engine"
|
3
|
+
# require "bullet_train/themes/base/theme"
|
3
4
|
|
4
5
|
module BulletTrain
|
5
6
|
module Themes
|
6
7
|
mattr_accessor :themes, default: {}
|
8
|
+
|
9
|
+
module Base
|
10
|
+
class Theme
|
11
|
+
def directory_order
|
12
|
+
['base']
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
7
16
|
end
|
8
17
|
end
|
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.6
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|