devise-bootstrap-views 0.0.4 → 0.0.5

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: a556163d1bea0dc4a9ae72ddef4eaae4dae09b8a
4
- data.tar.gz: 1cb32d0853e54cab96f680323bda080b6d629f73
3
+ metadata.gz: 97c3133072050eba167cfed2fe64d3b1ef8d344f
4
+ data.tar.gz: a252fa6e9c64007d554328657a9e1197047a4ff4
5
5
  SHA512:
6
- metadata.gz: 46d1d14e275d1dbabee79860bb3e94b6e1fc6a23f9f4ddb8f46c954e32db46f4223b32be2198bd13c91baebe6b175642318385b965dbf504ff91fff6ecd194d5
7
- data.tar.gz: 824eed0b1099bec318d4716538543163e5b0e99f7476e9a11994d4f4ef5892b215eacd43457451824a789a7d6b058c216e249a34d0ba8b1d368137d48fb500a4
6
+ metadata.gz: 8d024bb9edfafbb32a2104d37078071a57d751852b7f669401da9a14780149ad5dcec310208805f353f0222f37be43d8cf77210c74d4b44465b5d29e2e53c719
7
+ data.tar.gz: f3aa415af07a89ad5cfddd14ce60a14baa5bd6aa0dfb6a7e4d0eb12bf33eb97ad6ee817bf3005f612bd4a34bcdce7119cb61de859ce5531b0432fdf7c0419b45
@@ -5,24 +5,25 @@
5
5
  </div>
6
6
  <div class="panel-body">
7
7
  <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
8
- <div class="form-group">
9
- <%= f.label :email %>
10
- <%= f.email_field :email, autofocus: true, class: "form-control" %>
11
- </div>
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 />
14
- <%= f.password_field :password, :autocomplete => "off", class: "form-control" %>
15
- </div>
16
- <div class="form-group">
17
- <%= f.label :password_confirmation %><br />
18
- <%= f.password_field :password_confirmation, class: "form-control" %>
19
- </div>
20
- <div class="form-group">
21
- <%= f.label :current_password %> <i>(<%= t('.we_need_your_current_password_to_confirm_your_changes', :default => 'we need your current password to confirm your changes') %>)</i>
22
- <%= f.password_field :current_password, class: "form-control" %>
23
- </div>
24
- <%= f.submit t('.update', :default => "Update"), class: "btn btn-primary" %></div>
25
- <% end %>
8
+ <div class="form-group">
9
+ <%= f.label :email %>
10
+ <%= f.email_field :email, autofocus: true, class: "form-control" %>
11
+ </div>
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 />
14
+ <%= f.password_field :password, :autocomplete => "off", class: "form-control" %>
15
+ </div>
16
+ <div class="form-group">
17
+ <%= f.label :password_confirmation %><br />
18
+ <%= f.password_field :password_confirmation, class: "form-control" %>
19
+ </div>
20
+ <div class="form-group">
21
+ <%= f.label :current_password %> <i>(<%= t('.we_need_your_current_password_to_confirm_your_changes', :default => 'we need your current password to confirm your changes') %>)</i>
22
+ <%= f.password_field :current_password, class: "form-control" %>
23
+ </div>
24
+ <%= f.submit t('.update', :default => "Update"), class: "btn btn-primary" %>
25
+ <% end %>
26
+ </div>
26
27
  </div>
27
28
 
28
29
  <p><%= t('.unhappy', :default => 'Unhappy') %>? <%= link_to t('.cancel_my_account', :default => "Cancel my account"), registration_path(resource_name), :data => { :confirm => t('.are_you_sure', :default => "Are you sure?") }, :method => :delete %>.</p>
@@ -17,6 +17,7 @@
17
17
  <label>
18
18
  <%= f.check_box :remember_me %>
19
19
  <%= f.label :remember_me %>
20
+ </label>
20
21
  </div>
21
22
  <% end %>
22
23
  <%= f.submit t('.sign_in', :default => "Sign in"), class: "btn btn-primary" %>
@@ -9,7 +9,7 @@ module DeviseBootstrapViewsHelper
9
9
 
10
10
  html = <<-HTML
11
11
  <div class="alert alert-danger alert-block">
12
- <button type="button" class="close" data-dismiss="alert">x</button>
12
+ <button type="button" class="close" data-dismiss="alert">⨉</button>
13
13
  <h5>#{sentence}</h4>
14
14
  #{messages}
15
15
  </div>
@@ -1,3 +1,3 @@
1
1
  module DeviseBootstrapViews
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -56,7 +56,7 @@ en:
56
56
  edit:
57
57
  are_you_sure: "Are you sure?"
58
58
  cancel_my_account: "Cancel my account"
59
- leave_blank_if_you_don_t_want_to_change_it: "leave blank if you dont want to change it"
59
+ leave_blank_if_you_don_t_want_to_change_it: "leave blank if you don't want to change it"
60
60
  title: "Edit %{resource}"
61
61
  we_need_your_current_password_to_confirm_your_changes: "we need your current password to confirm your changes"
62
62
  update: "Update"
@@ -107,4 +107,4 @@ en:
107
107
  current_sign_in_at: "Signed in at"
108
108
  email: "Email"
109
109
  password: "Password"
110
- last_sign_in_at: "Last signed in at"
110
+ last_sign_in_at: "Last signed in at"
@@ -20,7 +20,7 @@ pt-BR:
20
20
  action: Desbloquear minha conta
21
21
  greeting: Olá %{recipient}!
22
22
  instruction: ! 'Clique no link abaixo para desbloquear sua conta:'
23
- message: Sua conta foi bloqueada devido ao excessivo número de tentativas acesso inválidas.
23
+ message: Sua conta foi bloqueada devido ao excessivo número de tentativas de acesso inválidas.
24
24
  subject: Instruções de desbloqueio
25
25
  passwords:
26
26
  new:
@@ -42,10 +42,10 @@ pt-BR:
42
42
  links:
43
43
  didn_t_receive_confirmation_instructions: Não recebeu instruções de confirmação?
44
44
  didn_t_receive_unlock_instructions: Não recebeu instruções de desbloqueio?
45
- forgot_your_password: Equeceu sua senha?
45
+ forgot_your_password: Esqueceu sua senha?
46
46
  sign_in: Login
47
47
  sign_in_with_provider: Entrar com %{provider}
48
48
  sign_up: Inscrever-se
49
49
  unlocks:
50
50
  new:
51
- resend_unlock_instructions: Renviar instruções de desbloqueio
51
+ resend_unlock_instructions: Reenviar instruções de desbloqueio
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
4
+ version: 0.0.5
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-01-28 00:00:00.000000000 Z
11
+ date: 2015-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.4.5
109
+ rubygems_version: 2.2.2
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Devise Bootstrap views with i18n support.