bootstrap_views_generator 0.1.10 → 0.1.11

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: a5537c3dbc295e0496ae06ada8c0a0f7106a5bc29629aac81e13ed98ee10eacc
4
- data.tar.gz: 0b0c83d86a7faf8e9821aab3a5af7c382d4aa524abb9684a6d7cde687b955a57
3
+ metadata.gz: b823fd6085fe054970d415eff3f50e346c55c54854b7c9ecc9200b5d71ae4f1d
4
+ data.tar.gz: 7e9542962814e5174e776823467d0f90f100d298e043ea9890bbd06ab0d9fa95
5
5
  SHA512:
6
- metadata.gz: 49e926ca13787013d794af871d74862e260fc3ab911f55b68658baead164ed69d8f9d1534b275a8b8d1b3ad7a17816d04d858c5c41cec1b427131bf3292ecd59
7
- data.tar.gz: e61ab44db9cee54e07e17efa784bb7da0ce1dccc2ddb25a2c78bfbbbd75e6b48e95a26b0065f4ed4816da032c65eeb303ed1eaca931452de120e3ee7c8c23df7
6
+ metadata.gz: 9d2e619ff36d1e0e59ce53c88e4d31702d09b9a2e859f993685185852a67a32b101532670a26a89a7b2b40614b30994cfcbf4b3d9f13900cec399301b56da0e1
7
+ data.tar.gz: a6207e853e80a4e0bac9dcde08ed2b4b9b6e53ec65050eb66ad5124402426135b49d50e37912aafed1024f872bfa0fcf3a6c933652bfa2ac5415340158da0d5d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bootstrap_views_generator (0.1.10)
4
+ bootstrap_views_generator (0.1.11)
5
5
  railties (>= 4.0)
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module BootstrapViewsGenerator
2
- VERSION = '0.1.10'.freeze
2
+ VERSION = '0.1.11'.freeze
3
3
  end
@@ -9,21 +9,21 @@
9
9
  <%%= render "devise/shared/error_messages", resource: resource %>
10
10
  <%%= f.hidden_field :reset_password_token %>
11
11
 
12
- <div class="field">
13
- <%%= f.label :password, "New password" %><br />
12
+ <div class="form-group">
13
+ <%%= f.label :password, 'New password' %><br />
14
14
  <%% if @minimum_password_length %>
15
15
  <em>(<%%= @minimum_password_length %> characters minimum)</em><br />
16
16
  <%% end %>
17
- <%%= f.password_field :password, autofocus: true, autocomplete: "new-password" %>
17
+ <%%= f.password_field :password, autofocus: true, autocomplete: 'new-password', class: 'form-control' %>
18
18
  </div>
19
19
 
20
- <div class="field">
21
- <%%= f.label :password_confirmation, "Confirm new password" %><br />
22
- <%%= f.password_field :password_confirmation, autocomplete: "off" %>
20
+ <div class="form-group">
21
+ <%%= f.label :password_confirmation, 'Confirm new password' %><br />
22
+ <%%= f.password_field :password_confirmation, autocomplete: 'off', class: 'form-control' %>
23
23
  </div>
24
24
 
25
25
  <div class="form-group">
26
- <%%= f.submit "Change my password", class: 'btn btn-primary btn-block btn-lg' %>
26
+ <%%= f.submit 'Change my password', class: 'btn btn-primary btn-block btn-lg' %>
27
27
  </div>
28
28
  <%% end %>
29
29
  <div class="text-center">
@@ -8,18 +8,18 @@
8
8
  = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
9
9
  = render 'devise/shared/error_messages', resource: resource
10
10
  = f.hidden_field :reset_password_token
11
- .field
11
+ .form-groupform-group
12
12
  = f.label :password, 'New password'
13
13
  %br
14
14
  - if @minimum_password_length
15
15
  %em
16
16
  (#{@minimum_password_length} characters minimum)
17
17
  %br
18
- = f.password_field :password, autofocus: true, autocomplete: 'new-password'
19
- .field
18
+ = f.password_field :password, autofocus: true, autocomplete: 'new-password', class: 'form-control'
19
+ .form-group
20
20
  = f.label :password_confirmation, 'Confirm new password'
21
21
  %br
22
- = f.password_field :password_confirmation, autocomplete: 'off'
22
+ = f.password_field :password_confirmation, autocomplete: 'off', class: 'form-control'
23
23
  .form-group
24
24
  = f.submit 'Change my password', class: 'btn btn-primary btn-block btn-lg'
25
25
  .text-center
@@ -8,17 +8,17 @@
8
8
  = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
9
9
  = render 'devise/shared/error_messages', resource: resource
10
10
  = f.hidden_field :reset_password_token
11
- .field
11
+ .form-group
12
12
  = f.label :password, 'New password'
13
13
  br
14
14
  - if @minimum_password_length
15
15
  em = "(#{@minimum_password_length} characters minimum)"
16
16
  br
17
- = f.password_field :password, autofocus: true, autocomplete: 'new-password'
18
- .field
17
+ = f.password_field :password, autofocus: true, autocomplete: 'new-password', class: 'form-control'
18
+ .form-group
19
19
  = f.label :password_confirmation, 'Confirm new password'
20
20
  br
21
- = f.password_field :password_confirmation, autocomplete: 'off'
21
+ = f.password_field :password_confirmation, autocomplete: 'off', class: 'form-control'
22
22
  .form-group
23
23
  = f.submit 'Change my password', class: 'btn btn-primary btn-block btn-lg'
24
24
  .text-center
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_views_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Hicks