zadok 0.2.4 → 0.2.5

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: 843d879ca784044a000fb5052173f25ec5838b7952a9e34f93ef9f2db84305d0
4
- data.tar.gz: 9a48885c0482a063800f84438543790e168b488b93c5e0c14ecf571df89d6b4d
3
+ metadata.gz: c0d87979e9feeb373d9f2de0464997dea93f6af3d7861b6a33ce1a03894281ac
4
+ data.tar.gz: 787ffd72718368c87ca3e81197a76f23b45f75712f89242fe0ae2009ce5d6218
5
5
  SHA512:
6
- metadata.gz: c80b6bc33e1417dc1eace16d0f778833252bf11d3c994c543a32afaa29bd8891e91ff8382280c4101ef1c456e4e5c63327a9bd6b0b2e01f443b5fb35fc292e65
7
- data.tar.gz: 461c9959c9f325ef4f29df61201b5421ceedb966abcdaeeb3c9fc753d2e0e0bf00026424e1b5af754d34ae074968e7d3d1b683b5de491475ce95b690b414524c
6
+ metadata.gz: 2fdc4ebb54015efaa2f4adbd471119da411a305b8306cca960ecd4757b1479e89228d6a6963010a42e7d703106600e59a9d2860a913edbaee7b3b0ef5acd20e5
7
+ data.tar.gz: f15b09935c39eb0cdf8061aa10b351f3e88d61c540c686f9e5eb7cad4fc3655f93bd8ae719304eb3c3adcb7525cd4b31b06e9a538b9ebc590757c710226a67ad
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zadok (0.2.4)
4
+ zadok (0.2.5)
5
5
  bootstrap (~> 4.0)
6
6
  cancancan (~> 2.1)
7
7
  font-awesome-rails (~> 4.7)
@@ -1,2 +1,2 @@
1
1
  - options[:field_count].times do
2
- = render "zadok/form/fields/#{options[:field_type]}", resource: resource, form: form, attr: attr, options: options.deep_merge(html: { multiple: true })
2
+ = render "zadok/form/fields/#{options[:field_type]}", resource: resource, form: form, attr: attr, options: options.deep_merge(html: { multiple: true })
@@ -1,5 +1,6 @@
1
1
  .form-group
2
2
  = form.label attr
3
+ br
3
4
  - [true, false].each do |option|
4
5
  .form-check.form-check-inline
5
6
  = form.radio_button attr, option, class: "form-check-input"
@@ -1,3 +1,3 @@
1
1
  .form-group
2
2
  = form.label attr
3
- = form.email_field attr, options.fetch(:html) { {} }.merge(class: "form-control")
3
+ = form.email_field attr, options.fetch(:html) { {} }.merge(class: "form-control")
@@ -1,3 +1,3 @@
1
1
  .form-group
2
2
  = form.label attr
3
- = form.text_area attr, options.fetch(:html) { {} }.merge(rows: options[:rows], cols: options[:cols], class: "form-control")
3
+ = form.text_area attr, options.fetch(:html) { {} }.merge(rows: options[:rows], cols: options[:cols], class: "form-control")
@@ -1,3 +1,3 @@
1
1
  .form-group
2
2
  = form.label attr
3
- = form.text_field attr, options.fetch(:html) { {} }.merge(class: "form-control")
3
+ = form.text_field attr, options.fetch(:html) { {} }.merge(class: "form-control")
@@ -1,3 +1,3 @@
1
1
  .form-group
2
2
  = form.label attr
3
- = form.url_field attr, options.fetch(:html) { {} }.merge(class: "form-control")
3
+ = form.url_field attr, options.fetch(:html) { {} }.merge(class: "form-control")
data/lib/zadok/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Zadok
4
- VERSION = "0.2.4"
4
+ VERSION = "0.2.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zadok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Hooijer