bootstrap_views_generator 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bootstrap_views_generator/version.rb +1 -1
- data/lib/generators/bootstrap/templates/devise/erb/passwords/edit.html.erb.tt +7 -7
- data/lib/generators/bootstrap/templates/devise/haml/passwords/edit.html.haml.tt +4 -4
- data/lib/generators/bootstrap/templates/devise/slim/passwords/edit.html.slim.tt +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b823fd6085fe054970d415eff3f50e346c55c54854b7c9ecc9200b5d71ae4f1d
|
4
|
+
data.tar.gz: 7e9542962814e5174e776823467d0f90f100d298e043ea9890bbd06ab0d9fa95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d2e619ff36d1e0e59ce53c88e4d31702d09b9a2e859f993685185852a67a32b101532670a26a89a7b2b40614b30994cfcbf4b3d9f13900cec399301b56da0e1
|
7
|
+
data.tar.gz: a6207e853e80a4e0bac9dcde08ed2b4b9b6e53ec65050eb66ad5124402426135b49d50e37912aafed1024f872bfa0fcf3a6c933652bfa2ac5415340158da0d5d
|
data/Gemfile.lock
CHANGED
@@ -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="
|
13
|
-
<%%= f.label :password,
|
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:
|
17
|
+
<%%= f.password_field :password, autofocus: true, autocomplete: 'new-password', class: 'form-control' %>
|
18
18
|
</div>
|
19
19
|
|
20
|
-
<div class="
|
21
|
-
<%%= f.label :password_confirmation,
|
22
|
-
<%%= f.password_field :password_confirmation, autocomplete:
|
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
|
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
|
-
.
|
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
|
-
.
|
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
|
-
.
|
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
|
-
.
|
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
|