effective_bootstrap 0.12.5 → 0.12.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: 22048b944f0134520eeb6dd5939f63c64157d88c739feab38521a5c674162bdb
4
- data.tar.gz: 2d84f22a5af534ff9d16d09dca3fb54d45e6da3501eb74c3111158c025e31fc7
3
+ metadata.gz: caf072e51e23f572c945c0d6a96bfe6409e7858663c7f381f26b2182b63f48e2
4
+ data.tar.gz: 6e24ba3f3a68fb5d75b464ded353bbfab42f7c6712643f146ee344bb9f9b1f40
5
5
  SHA512:
6
- metadata.gz: 40c4a3831b11ea98ca38ab010761b225f51062246d69cdccc68dfceb76d0da0c1c86d810df274701cb31d6735c5b44258e1eafe7959589947d954c3f5f9767f5
7
- data.tar.gz: 2d22310db8af5bc2752d835995e33b6dba06a186b3927aa0a59373d5dc978ff01858032689f775dc20b356aaa3d6a9cc7601442e369b729ac8d2a4394532d574
6
+ metadata.gz: 8b5b92e6c0ed5fa76633e0f514dd151978aaca1c5a92ce88c86201363334c45e13f96380c796e2e2ab06eaf8f7afcbbce6bd9c59ee4b0d484ccd8a4d908c1f14
7
+ data.tar.gz: 05db676088a579d304260b324a3c48114aca3f76f9382d05bc0a048fd87a155fb1297706af728b7b731912e1d9fce277de0166634e895dbf506dc360a10c16e1
@@ -163,7 +163,7 @@ module Effective
163
163
  def build_purge
164
164
  return ''.html_safe unless purge?
165
165
 
166
- label = (multiple? ? 'Delete files on save' : 'Delete file on save')
166
+ label = (multiple? ? 'Delete existing files on save' : 'Delete existing file on save')
167
167
  @builder.check_box('_purge', multiple: true, label: label, id: "#{tag_id}_purge", checked_value: name)
168
168
  end
169
169
 
@@ -5,7 +5,13 @@ module Effective
5
5
  class UrlField < Effective::FormInput
6
6
 
7
7
  def input_html_options
8
- { class: 'form-control', placeholder: 'https://www.example.com', id: tag_id }
8
+ {
9
+ class: 'form-control',
10
+ placeholder: 'https://www.example.com',
11
+ id: tag_id,
12
+ pattern: '(http:\/|https:\/)?\/[^\/+].+',
13
+ type: 'text'
14
+ }
9
15
  end
10
16
 
11
17
  def input_group_options
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.12.5'.freeze
2
+ VERSION = '0.12.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.5
4
+ version: 0.12.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-14 00:00:00.000000000 Z
11
+ date: 2023-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails