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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbdcf7e991fac654e1a5244b1e2cc3a27671b5d5
4
- data.tar.gz: 25ac2179d394f915f630a9c362751fde9312718f
3
+ metadata.gz: c4757889e2fd05055d29c47fa35d185e412a4147
4
+ data.tar.gz: f21a8903c499f3f5b185ba0e36a09ef966a891a2
5
5
  SHA512:
6
- metadata.gz: 63a3b5ac751267b4579c510843daa623bcab4831cd4ba2ac075a22b2d83ccdb1097a464f83bb6986051341409b6bfae2811869ce6f8b6eb098455c8352b5c0ae
7
- data.tar.gz: af8f0668aa5e79d6752408fbbb12e28dbcf7bc9ae48109bae3d034454a9a4ec40cd09ffa3fc1178e2b73366244ea7f33facfeb429520f5cf62da986d64174730
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('.resend_confirmation_instructions', :default => 'Resend confirmation instructions') %></h4>
5
5
  </div>
@@ -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('.change_your_password', :default => 'Change your password') %></h4>
5
5
  </div>
@@ -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('.forgot_your_password', :default => 'Forgot your password?') %></h4>
5
5
  </div>
@@ -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,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('.sign_up', :default => "Sign up") %></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
- <label>
18
- <%= f.check_box :remember_me %>
19
- <%= f.label :remember_me %>
20
- </label>
17
+ <%= f.label :remember_me do %>
18
+ <%= f.check_box :remember_me %>remember me
19
+ <% end %>
21
20
  </div>
22
- <% end %>
21
+ <% end %>
23
22
  <%= f.submit t('.sign_in', :default => "Sign in"), class: "btn btn-primary" %>
24
23
  <% end %>
25
24
  </div>
@@ -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('.resend_unlock_instructions', :default => "Resend unlock instructions") %></h4>
5
5
  </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">&times;</button>
15
15
  <h5>#{sentence}</h5>
16
16
  <ul>#{messages}</ul>
@@ -1,3 +1,3 @@
1
1
  module DeviseBootstrapViews
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -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.7
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: 2015-11-22 00:00:00.000000000 Z
11
+ date: 2016-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler