devise-bootstrap-views 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/app/views/devise/confirmations/new.html.erb +1 -1
- data/app/views/devise/passwords/edit.html.erb +1 -1
- data/app/views/devise/passwords/new.html.erb +1 -1
- data/app/views/devise/registrations/edit.html.erb +1 -1
- data/app/views/devise/registrations/new.html.erb +1 -1
- data/app/views/devise/sessions/new.html.erb +5 -6
- data/app/views/devise/unlocks/new.html.erb +1 -1
- data/lib/devise_bootstrap_views_helper.rb +1 -1
- data/lib/version.rb +1 -1
- data/locales/uk.yml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4757889e2fd05055d29c47fa35d185e412a4147
|
4
|
+
data.tar.gz: f21a8903c499f3f5b185ba0e36a09ef966a891a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4da70d386e0310992c21e288b5ac3c66a6448d08bc35f7c4e75767200d5118b8dbfb79a964eafa72f1e461fdbb3b82c243a7f9184f7c7d94ef1ec74e7ee1fec4
|
7
|
+
data.tar.gz: 6cccf53a16c51fd5b23f5cf2b34555b6ecf948eb305aefb7bf114c4dced3f0ccff5a8f841de141978e60c82cc28e33366a7b40fa394c6db83598d45d11ff75fd
|
data/README.md
CHANGED
@@ -46,6 +46,10 @@ The `devise:views:bootstrap_templates` generator will copy all views to your app
|
|
46
46
|
rails g devise:views:bootstrap_templates
|
47
47
|
```
|
48
48
|
|
49
|
+
## Example
|
50
|
+
|
51
|
+
Sample Application can be found at this link - [Devise Boostrap Views Application](https://github.com/ethiraj-srinivasan/devise-boostrap-views)
|
52
|
+
|
49
53
|
## Contributing
|
50
54
|
|
51
55
|
1. Fork it ( https://github.com/hisea/devise-bootstrap-views/fork )
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<%= bootstrap_devise_error_messages! %>
|
2
|
-
<div class="panel panel-default">
|
2
|
+
<div class="panel panel-default devise-bs">
|
3
3
|
<div class="panel-heading">
|
4
4
|
<h4><%= t('.title', :resource => resource_class.model_name.human , :default => "Edit #{resource_name.to_s.humanize}") %></h4>
|
5
5
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="panel panel-default">
|
1
|
+
<div class="panel panel-default devise-bs">
|
2
2
|
<div class="panel-heading">
|
3
3
|
<h4><%= t('.sign_in', :default => "Sign in") %></h4>
|
4
4
|
</div>
|
@@ -14,12 +14,11 @@
|
|
14
14
|
</div>
|
15
15
|
<% if devise_mapping.rememberable? %>
|
16
16
|
<div class="checkbox">
|
17
|
-
|
18
|
-
<%= f.check_box :remember_me %>
|
19
|
-
|
20
|
-
</label>
|
17
|
+
<%= f.label :remember_me do %>
|
18
|
+
<%= f.check_box :remember_me %>remember me
|
19
|
+
<% end %>
|
21
20
|
</div>
|
22
|
-
|
21
|
+
<% end %>
|
23
22
|
<%= f.submit t('.sign_in', :default => "Sign in"), class: "btn btn-primary" %>
|
24
23
|
<% end %>
|
25
24
|
</div>
|
@@ -10,7 +10,7 @@ module DeviseBootstrapViewsHelper
|
|
10
10
|
resource: resource.class.model_name.human.downcase)
|
11
11
|
|
12
12
|
html = <<-HTML
|
13
|
-
<div class="alert alert-danger alert-block">
|
13
|
+
<div class="alert alert-danger alert-block devise-bs">
|
14
14
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
15
15
|
<h5>#{sentence}</h5>
|
16
16
|
<ul>#{messages}</ul>
|
data/lib/version.rb
CHANGED
data/locales/uk.yml
CHANGED
@@ -20,7 +20,7 @@ uk:
|
|
20
20
|
action: "Розблокувати обліковий запис"
|
21
21
|
greeting: "Привіт \"%{recipient}!\""
|
22
22
|
instruction: "Натисніть на посилання для активації облікового запису:"
|
23
|
-
message: "Ваш обліковий запис був заблокований у
|
23
|
+
message: "Ваш обліковий запис був заблокований у зв''язку з перевищенням ліміту невдалих спроб входу."
|
24
24
|
subject: "Інструкції для розблокування облікового запису"
|
25
25
|
passwords:
|
26
26
|
new:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-bootstrap-views
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yinghai Zhao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|