bullet_train-themes 1.0.5 → 1.0.6

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: 744d05668c8d24f923bf5a32515d47182047ec0a209f2f0f1914af86b9ac7ca8
4
- data.tar.gz: 1f4ef7ed195439992f132a481b37bd8ee38a6241e795e6a32fd5c1a799d50072
3
+ metadata.gz: ce3869acc3151676694fade3b455ea078f986554e5846434dd81c5f351d6aefc
4
+ data.tar.gz: 59c65cb7b9a102271db21948b4eff4b2441045592c72126a7e5d2b3699117d63
5
5
  SHA512:
6
- metadata.gz: 7a7e5803c7371c505bb6d61ae4c8c0f4bffba2d89befc5520b56450f904399f9a6784162b62c7b3e54e0c47c526e65e4925526c7ab42da274c449ed3087e870a
7
- data.tar.gz: b2c5132d68ff59eb0f240f5168f81cc477d462a9f581f5e04b6b2a5c476ef27b918717e98ba3aeb4b3a4ef464fbfff7b9c66a39e4225d001433e7afd1608d77c
6
+ metadata.gz: 4b80ab6f49e1663d62001ad5ad7e9445e3a6bcdf88e470e724536718dfa80b78930dcb428de5ba82c6e1b9af35a38ddaa033c41f154b188301df43591911e336
7
+ data.tar.gz: 8d8f8e01ebefdca642df2c643fc08ff916fc8af4da93d5443f24d31de93cc5e1df0f4c72c062b40285daacf7c45553fa876cd72690c647eda2b7228394cafbe3
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2022 Andrew Culver
1
+ Copyright 2022 Bullet Train, Inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -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>
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Themes
3
- VERSION = "1.0.5"
3
+ VERSION = "1.0.6"
4
4
  end
5
5
  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.5
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-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails