bullet_train-themes 1.0.4 → 1.0.7

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: 5e1206becdad1a313196178142ecdd2b26c8242cf6bcb0334edf7e7739cbaa95
4
- data.tar.gz: 4246cae471c4a3b91e3908acb7e7af46466fe77b91c11445465160b65784e5c1
3
+ metadata.gz: dd53a24521a77065f5014cbaae79550919d9b4f3814ddeaade402b0914c23e5d
4
+ data.tar.gz: 17866cd53604c8213d7c6c5ab7c9b48341cf8c71b2fbe5d8738dc65d1fadf5f9
5
5
  SHA512:
6
- metadata.gz: 5edcca9a6df29743e448acb0f3bb86b56604fb6cce7003cf8d09ae011da7287cee5e9ccc7763dd398bdadc321a08be821fff974088531dc619babf7e85e576f9
7
- data.tar.gz: cc1b180605accfdeb78178d87a291fdbeefb28d6f9915fc4aa376f7aa99dce9d08b68641c97e64b014de5c529b824c10fe2eadde41975c712b57232b4608be1d
6
+ metadata.gz: 4ad93ee2fc820cd3dd87eedda7caaaec6f35de3b62ebe2697ce43020a776729eda220355909753a6723e095a0f2ba99f84db6b6ab4227d16bc67542e6780e2fc
7
+ data.tar.gz: 80f81475cc7093b9edad0bd359cfddb36c11ecfca4730947305c86dbbc1aaf7bc03c4231ac37408a6b0a57bf4d2b0fa668d2f1b76cc610de177ed609b1a5ba29
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
@@ -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,6 +1,9 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  class Engine < ::Rails::Engine
4
+ initializer "bullet_train.themes.register" do |app|
5
+ BulletTrain.linked_gems << "bullet_train-themes"
6
+ end
4
7
  end
5
8
  end
6
9
  end
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Themes
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.7"
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.4
4
+ version: 1.0.7
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-16 00:00:00.000000000 Z
11
+ date: 2022-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails