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: 744d05668c8d24f923bf5a32515d47182047ec0a209f2f0f1914af86b9ac7ca8
4
- data.tar.gz: 1f4ef7ed195439992f132a481b37bd8ee38a6241e795e6a32fd5c1a799d50072
3
+ metadata.gz: 603c130eb0c650706cddef6748d4da92887bb84a7121ad2ca7f391506b79c7a1
4
+ data.tar.gz: 0b8c92c280c885d72a2dbabbf2c34dd332742c0d0c94fd58c662573265f80ab0
5
5
  SHA512:
6
- metadata.gz: 7a7e5803c7371c505bb6d61ae4c8c0f4bffba2d89befc5520b56450f904399f9a6784162b62c7b3e54e0c47c526e65e4925526c7ab42da274c449ed3087e870a
7
- data.tar.gz: b2c5132d68ff59eb0f240f5168f81cc477d462a9f581f5e04b6b2a5c476ef27b918717e98ba3aeb4b3a4ef464fbfff7b9c66a39e4225d001433e7afd1608d77c
6
+ metadata.gz: c75ea62cd0dd1cf072df53b52bb7b95382d6b1742ec30fd283e5f514e1aac3b98d4f187c41fe2b628d9af47ba5e52869860e46ba298d72f34fd121ec3596e2c9
7
+ data.tar.gz: 1fa8527d5270ad52c41b423750f91b4001dbfe1796dba91aca3332ec36fb630397a2bc2f85fbc28068120cb8ab2780cbf3ea0fdfb5640af5a1a14d4ec9496bc1
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
@@ -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
- <%= trix_content(object.send(attribute).to_s).html_safe %>
8
+ <%= html_sanitize(object.send(attribute).to_s).html_safe %>
9
9
  <% end %>
10
10
  <% end %>
@@ -2,4 +2,4 @@
2
2
  <% strategy ||= current_attributes_strategy || :none %>
3
3
  <% url ||= nil %>
4
4
 
5
- <%= cloudinary_image_tag @tangible_thing.send(attribute), height: 200 %>
5
+ <%= cloudinary_image_tag object.send(attribute), height: 200 %>
@@ -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.8"
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.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-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails