zadok 0.2.3 → 0.2.4

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: 9eda162aaddc3d8da7c339d2d55b2106685d112d4facb79cb28c9d847e761ead
4
- data.tar.gz: b28c22bca6e0792ecb035a5373b6ed8062ba57a8898165b2f7d848d4cf91b570
3
+ metadata.gz: 843d879ca784044a000fb5052173f25ec5838b7952a9e34f93ef9f2db84305d0
4
+ data.tar.gz: 9a48885c0482a063800f84438543790e168b488b93c5e0c14ecf571df89d6b4d
5
5
  SHA512:
6
- metadata.gz: f544f36d229ea0db7d01004da2a2dba1872ad6acc224de225c08fb99f940e478717f050b5fcb9307dc777fdd251156f0c29980e2dfa968e6a2053400b2a3fc72
7
- data.tar.gz: b05124ca2401e9142d4ae6a7a720c449483264bed977db513f9ebcc5a5ce6b8e8e52cf3688b2490f2c4e2da84ab6f48b00e416eb2bd572d38dca8c96da99e824
6
+ metadata.gz: c80b6bc33e1417dc1eace16d0f778833252bf11d3c994c543a32afaa29bd8891e91ff8382280c4101ef1c456e4e5c63327a9bd6b0b2e01f443b5fb35fc292e65
7
+ data.tar.gz: 461c9959c9f325ef4f29df61201b5421ceedb966abcdaeeb3c9fc753d2e0e0bf00026424e1b5af754d34ae074968e7d3d1b683b5de491475ce95b690b414524c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zadok (0.2.3)
4
+ zadok (0.2.4)
5
5
  bootstrap (~> 4.0)
6
6
  cancancan (~> 2.1)
7
7
  font-awesome-rails (~> 4.7)
@@ -1,4 +1,5 @@
1
1
  .form-group
2
+ = form.label attr
2
3
  - [true, false].each do |option|
3
4
  .form-check.form-check-inline
4
5
  = form.radio_button attr, option, class: "form-check-input"
@@ -1,5 +1,7 @@
1
1
  .form-group
2
- = form.label attr
3
- = form.file_field attr, options.fetch(:html) { {} }.merge(class: "form-control")
2
+ .custom-file
3
+ = form.file_field attr, options.fetch(:html) { {} }.merge(class: "custom-file-input")
4
+ = form.label attr, class: "custom-file-label"
5
+
4
6
  - if options[:preview]
5
7
  = image_tag resource.send(attr).url, class: "logo img-fluid"
@@ -1,6 +1,7 @@
1
1
  .form-group
2
2
  = form.label attr
3
- .input-group-prepend
4
- .input-group-text
5
- | #
6
- = form.text_field attr, options.fetch(:html) { {} }.merge(class: "form-control", maxlength: 6)
3
+ .input-group
4
+ .input-group-prepend
5
+ .input-group-text
6
+ | #
7
+ = form.text_field attr, options.fetch(:html) { {} }.merge(class: "form-control", maxlength: 6)
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.3"
4
+ VERSION = "0.2.4"
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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Hooijer