devise-bootstrap-views 0.0.8 → 0.0.9

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: c4757889e2fd05055d29c47fa35d185e412a4147
4
- data.tar.gz: f21a8903c499f3f5b185ba0e36a09ef966a891a2
3
+ metadata.gz: 17d2b09d65c1e7e8e5066fe7d3ddba7866acece6
4
+ data.tar.gz: a6f9222c112a2c170f6a07b676ef244737193ef8
5
5
  SHA512:
6
- metadata.gz: 4da70d386e0310992c21e288b5ac3c66a6448d08bc35f7c4e75767200d5118b8dbfb79a964eafa72f1e461fdbb3b82c243a7f9184f7c7d94ef1ec74e7ee1fec4
7
- data.tar.gz: 6cccf53a16c51fd5b23f5cf2b34555b6ecf948eb305aefb7bf114c4dced3f0ccff5a8f841de141978e60c82cc28e33366a7b40fa394c6db83598d45d11ff75fd
6
+ metadata.gz: 8a8a2f10ea00d3a4c5240a87a84368f6442f7cae0df796900ab435e1e5f6a975f48622820a9adf6da15b1cb4e46840a30577f0f805165a8a2ab0a46c62a769c1
7
+ data.tar.gz: a594563618590acf6e949268e9de6eda85c6982b887be1c91f54b56f1c8b148c087319f409a2c17e4e0b9674f99ed03e5b106078cd1f1094871d7ff12df5806d
@@ -10,11 +10,11 @@
10
10
  <%= f.email_field :email, autofocus: true, class: "form-control" %>
11
11
  </div>
12
12
  <div class="form-group">
13
- <%= f.label :password %> <i>(<%= t('.leave_blank_if_you_don_t_want_to_change_it', :default => "leave blank if you don't want to change it") %>)</i><br />
13
+ <%= f.label :password %> <i>(<%= t('.leave_blank_if_you_don_t_want_to_change_it', :default => "leave blank if you don't want to change it") %>)</i>
14
14
  <%= f.password_field :password, :autocomplete => "off", class: "form-control" %>
15
15
  </div>
16
16
  <div class="form-group">
17
- <%= f.label :password_confirmation %><br />
17
+ <%= f.label :password_confirmation %>
18
18
  <%= f.password_field :password_confirmation, class: "form-control" %>
19
19
  </div>
20
20
  <div class="form-group">
@@ -10,7 +10,7 @@
10
10
  <%= f.email_field :email, autofocus: true, class: "form-control" %>
11
11
  </div>
12
12
  <div class="form-group">
13
- <%= f.label :password %><br />
13
+ <%= f.label :password %>
14
14
  <%= f.password_field :password, class: "form-control" %>
15
15
  </div>
16
16
  <div class="form-group">
@@ -15,7 +15,7 @@
15
15
  <% if devise_mapping.rememberable? %>
16
16
  <div class="checkbox">
17
17
  <%= f.label :remember_me do %>
18
- <%= f.check_box :remember_me %>remember me
18
+ <%= f.check_box :remember_me %> <%= t('.remember_me', :default => "Remember me") %>
19
19
  <% end %>
20
20
  </div>
21
21
  <% end %>
@@ -1,25 +1,25 @@
1
- <%- if controller_name != 'sessions' %>
2
- <%= link_to t(".sign_in", :default => "Sign in"), new_session_path(resource_name) %><br />
3
- <% end -%>
1
+ <% if controller_name != 'sessions' %>
2
+ <%= link_to t(".sign_in", :default => "Sign in"), new_session_path(resource_name) %><br />
3
+ <% end %>
4
4
 
5
- <%- if devise_mapping.registerable? && controller_name != 'registrations' %>
6
- <%= link_to t(".sign_up", :default => "Sign up"), new_registration_path(resource_name) %><br />
7
- <% end -%>
5
+ <% if devise_mapping.registerable? && controller_name != 'registrations' %>
6
+ <%= link_to t(".sign_up", :default => "Sign up"), new_registration_path(resource_name) %><br />
7
+ <% end %>
8
8
 
9
- <%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
10
- <%= link_to t(".forgot_your_password", :default => "Forgot your password?"), new_password_path(resource_name) %><br />
11
- <% end -%>
9
+ <% if devise_mapping.recoverable? && controller_name != 'passwords' %>
10
+ <%= link_to t(".forgot_your_password", :default => "Forgot your password?"), new_password_path(resource_name) %><br />
11
+ <% end %>
12
12
 
13
- <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
14
- <%= link_to t('.didn_t_receive_confirmation_instructions', :default => "Didn't receive confirmation instructions?"), new_confirmation_path(resource_name) %><br />
15
- <% end -%>
13
+ <% if devise_mapping.confirmable? && controller_name != 'confirmations' %>
14
+ <%= link_to t('.didn_t_receive_confirmation_instructions', :default => "Didn't receive confirmation instructions?"), new_confirmation_path(resource_name) %><br />
15
+ <% end %>
16
16
 
17
- <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
18
- <%= link_to t('.didn_t_receive_unlock_instructions', :default => "Didn't receive unlock instructions?"), new_unlock_path(resource_name) %><br />
19
- <% end -%>
17
+ <% if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
18
+ <%= link_to t('.didn_t_receive_unlock_instructions', :default => "Didn't receive unlock instructions?"), new_unlock_path(resource_name) %><br />
19
+ <% end %>
20
20
 
21
- <%- if devise_mapping.omniauthable? %>
22
- <%- resource_class.omniauth_providers.each do |provider| %>
21
+ <% if devise_mapping.omniauthable? %>
22
+ <% resource_class.omniauth_providers.each do |provider| %>
23
23
  <%= link_to t('.sign_in_with_provider', :provider => provider.to_s.titleize, :default => "Sign in with #{provider.to_s.titleize}"), omniauth_authorize_path(resource_name, provider) %><br />
24
- <% end -%>
25
- <% end -%>
24
+ <% end %>
25
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module DeviseBootstrapViews
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -76,6 +76,7 @@ en:
76
76
  signed_out: "Signed out successfully."
77
77
  new:
78
78
  sign_in: "Sign in"
79
+ remember_me: "Remember me"
79
80
  shared:
80
81
  links:
81
82
  didn_t_receive_confirmation_instructions: "Didn't receive confirmation instructions?"
@@ -45,6 +45,7 @@ zh-CN:
45
45
  sessions:
46
46
  new:
47
47
  sign_in: 登录
48
+ remember_me: 记住我
48
49
  shared:
49
50
  links:
50
51
  didn_t_receive_confirmation_instructions: 没有收到确认指令?
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.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yinghai Zhao
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-05 00:00:00.000000000 Z
11
+ date: 2016-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.4.5.1
112
+ rubygems_version: 2.2.2
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Devise Bootstrap views with i18n support.