contour 2.1.0.beta12 → 2.1.0.beta13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/bootstrap-overrides.css +5 -0
- data/app/views/contour/authentications/_login_table.html.erb +1 -1
- data/app/views/contour/confirmations/new.html.erb +3 -3
- data/app/views/contour/passwords/edit.html.erb +5 -5
- data/app/views/contour/passwords/new.html.erb +3 -3
- data/app/views/contour/registrations/edit.html.erb +9 -9
- data/app/views/contour/registrations/new.html.erb +11 -11
- data/app/views/contour/sessions/new.html.erb +6 -6
- data/app/views/contour/unlocks/new.html.erb +3 -3
- data/lib/contour/version.rb +1 -1
- data/lib/generators/contour/scaffold/templates/_form.html.erb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cf29abd2de2afa44e98bc377ceda78b4cc1bb06
|
4
|
+
data.tar.gz: 66f77f4747ff5cc641f079d4491097fe059ddd4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf507ba0249111936a3d711be7b94ff2b4dd537c71eb952281a8493cbd027466d640e7f14160814d5dc39d7ea69e3d132a3d521ecbe4fc0458f05ebce5620a15
|
7
|
+
data.tar.gz: 067d7d272140148849f8460be87571cd1c16be5070a13b835ff8cabbcd30daba5b9050e14510dd7aa223a68f55a82859dd0840599985a93ff2c2124bb15bf3b0
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% if PROVIDERS.size > 0 %>
|
2
2
|
<div class="form-group">
|
3
3
|
<label class="control-label">Sign in with</label>
|
4
|
-
<div class="col-
|
4
|
+
<div class="col-md-10">
|
5
5
|
<% PROVIDERS.each do |provider| %>
|
6
6
|
<% provider_name = OmniAuth.config.camelizations[provider.to_s.downcase] || provider.to_s.titleize %>
|
7
7
|
<% image_name = provider.to_s.downcase %>
|
@@ -7,14 +7,14 @@
|
|
7
7
|
<%= devise_error_messages! %>
|
8
8
|
|
9
9
|
<div class="form-group">
|
10
|
-
<%= f.label :email, class: 'col-
|
11
|
-
<div class="col-
|
10
|
+
<%= f.label :email, class: 'col-md-2 control-label' %>
|
11
|
+
<div class="col-md-10">
|
12
12
|
<%= f.email_field :email, class: 'form-control' %>
|
13
13
|
</div>
|
14
14
|
</div>
|
15
15
|
|
16
16
|
<div class="form-group">
|
17
|
-
<div class="col-
|
17
|
+
<div class="col-md-10 col-md-offset-2">
|
18
18
|
<%= f.submit "Resend confirmation instructions", class: 'btn btn-primary' %>
|
19
19
|
<%= render partial: 'contour/links' %>
|
20
20
|
</div>
|
@@ -8,21 +8,21 @@
|
|
8
8
|
<%= f.hidden_field :reset_password_token %>
|
9
9
|
|
10
10
|
<div class="form-group">
|
11
|
-
<%= f.label :password, "New password", class: 'col-
|
12
|
-
<div class="col-
|
11
|
+
<%= f.label :password, "New password", class: 'col-md-2 control-label' %>
|
12
|
+
<div class="col-md-10">
|
13
13
|
<%= f.password_field :password, class: 'form-control' %>
|
14
14
|
</div>
|
15
15
|
</div>
|
16
16
|
|
17
17
|
<div class="form-group">
|
18
|
-
<%= f.label :password_confirmation, "Confirm new password", class: 'col-
|
19
|
-
<div class="col-
|
18
|
+
<%= f.label :password_confirmation, "Confirm new password", class: 'col-md-2 control-label' %>
|
19
|
+
<div class="col-md-10">
|
20
20
|
<%= f.password_field :password_confirmation, class: 'form-control' %>
|
21
21
|
</div>
|
22
22
|
</div>
|
23
23
|
|
24
24
|
<div class="form-group">
|
25
|
-
<div class="col-
|
25
|
+
<div class="col-md-10 col-md-offset-2">
|
26
26
|
<%= f.submit "Change my password", class: 'btn btn-primary' %>
|
27
27
|
<%= render partial: 'contour/links' %>
|
28
28
|
</div>
|
@@ -7,14 +7,14 @@
|
|
7
7
|
<%= devise_error_messages! %>
|
8
8
|
|
9
9
|
<div class="form-group">
|
10
|
-
<%= f.label :email, class: 'col-
|
11
|
-
<div class="col-
|
10
|
+
<%= f.label :email, class: 'col-md-2 control-label' %>
|
11
|
+
<div class="col-md-10">
|
12
12
|
<%= f.email_field :email, class: 'form-control' %>
|
13
13
|
</div>
|
14
14
|
</div>
|
15
15
|
|
16
16
|
<div class="form-group">
|
17
|
-
<div class="col-
|
17
|
+
<div class="col-md-10 col-md-offset-2">
|
18
18
|
<%= f.submit "Send me reset password instructions", class: 'btn btn-primary' %>
|
19
19
|
<%= render partial: 'contour/links' %>
|
20
20
|
</div>
|
@@ -7,37 +7,37 @@
|
|
7
7
|
<%= devise_error_messages! %>
|
8
8
|
|
9
9
|
<div class="form-group">
|
10
|
-
<%= f.label :email, class: 'col-
|
11
|
-
<div class="col-
|
10
|
+
<%= f.label :email, class: 'col-md-2 control-label' %>
|
11
|
+
<div class="col-md-10">
|
12
12
|
<%= f.email_field :email, class: 'form-control' %>
|
13
13
|
</div>
|
14
14
|
</div>
|
15
15
|
|
16
16
|
<div class="form-group">
|
17
|
-
<%= f.label :password, class: 'col-
|
18
|
-
<div class="col-
|
17
|
+
<%= f.label :password, class: 'col-md-2 control-label' %>
|
18
|
+
<div class="col-md-10">
|
19
19
|
<%= f.password_field :password, autocomplete: "off", class: 'form-control' %>
|
20
20
|
<i class="help-block">(leave blank if you don't want to change it)</i>
|
21
21
|
</div>
|
22
22
|
</div>
|
23
23
|
|
24
24
|
<div class="form-group">
|
25
|
-
<%= f.label :password_confirmation, class: 'col-
|
26
|
-
<div class="col-
|
25
|
+
<%= f.label :password_confirmation, class: 'col-md-2 control-label' %>
|
26
|
+
<div class="col-md-10">
|
27
27
|
<%= f.password_field :password_confirmation, class: 'form-control' %>
|
28
28
|
</div>
|
29
29
|
</div>
|
30
30
|
|
31
31
|
<div class="form-group">
|
32
|
-
<%= f.label :current_password, class: 'col-
|
33
|
-
<div class="col-
|
32
|
+
<%= f.label :current_password, class: 'col-md-2 control-label' %>
|
33
|
+
<div class="col-md-10">
|
34
34
|
<%= f.password_field :current_password, class: 'form-control' %>
|
35
35
|
<i class="help-block">(we need your current password to confirm your changes)</i>
|
36
36
|
</div>
|
37
37
|
</div>
|
38
38
|
|
39
39
|
<div class="form-group">
|
40
|
-
<div class="col-
|
40
|
+
<div class="col-md-10 col-md-offset-2">
|
41
41
|
<%= f.submit "Update", class: 'btn btn-primary' %>
|
42
42
|
</div>
|
43
43
|
</div>
|
@@ -8,45 +8,45 @@
|
|
8
8
|
|
9
9
|
<% Contour.sign_up_fields.each do |field_hash| %>
|
10
10
|
<div class="form-group">
|
11
|
-
<%= f.label field_hash[:attribute], class: 'col-
|
12
|
-
<div class="col-
|
11
|
+
<%= f.label field_hash[:attribute], class: 'col-md-2 control-label' %>
|
12
|
+
<div class="col-md-10">
|
13
13
|
<%= f.send(field_hash[:type], field_hash[:attribute], class: 'form-control') %>
|
14
14
|
</div>
|
15
15
|
</div>
|
16
16
|
<% end %>
|
17
17
|
|
18
18
|
<div class="form-group">
|
19
|
-
<%= f.label :email, class: 'col-
|
20
|
-
<div class="col-
|
19
|
+
<%= f.label :email, class: 'col-md-2 control-label' %>
|
20
|
+
<div class="col-md-10">
|
21
21
|
<%= f.email_field :email, class: 'form-control' %>
|
22
22
|
</div>
|
23
23
|
</div>
|
24
24
|
|
25
25
|
<div class="form-group">
|
26
|
-
<%= f.label :password, class: 'col-
|
27
|
-
<div class="col-
|
26
|
+
<%= f.label :password, class: 'col-md-2 control-label' %>
|
27
|
+
<div class="col-md-10">
|
28
28
|
<%= f.password_field :password, class: 'form-control' %>
|
29
29
|
</div>
|
30
30
|
</div>
|
31
31
|
|
32
32
|
<div class="form-group">
|
33
|
-
<%= f.label :password_confirmation, class: 'col-
|
34
|
-
<div class="col-
|
33
|
+
<%= f.label :password_confirmation, class: 'col-md-2 control-label' %>
|
34
|
+
<div class="col-md-10">
|
35
35
|
<%= f.password_field :password_confirmation, class: 'form-control' %>
|
36
36
|
</div>
|
37
37
|
</div>
|
38
38
|
|
39
39
|
<% Contour.spam_fields.each do |name| %>
|
40
40
|
<div class="form-group control-special">
|
41
|
-
<%= label_tag "#{resource_name}[#{name}]", name, class: 'col-
|
42
|
-
<div class="col-
|
41
|
+
<%= label_tag "#{resource_name}[#{name}]", name, class: 'col-md-2 control-label' %>
|
42
|
+
<div class="col-md-10">
|
43
43
|
<%= text_field_tag "#{resource_name}[#{name}]", '', class: 'form-control' %>
|
44
44
|
</div>
|
45
45
|
</div>
|
46
46
|
<% end %>
|
47
47
|
|
48
48
|
<div class="form-group">
|
49
|
-
<div class="col-
|
49
|
+
<div class="col-md-10 col-md-offset-2">
|
50
50
|
<%= f.submit "Sign up", class: 'btn btn-primary' %>
|
51
51
|
<%= render partial: 'contour/links' %>
|
52
52
|
</div>
|
@@ -8,29 +8,29 @@
|
|
8
8
|
|
9
9
|
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), html: { class: 'form-horizontal' }) do |f| %>
|
10
10
|
<div class="form-group">
|
11
|
-
<%= f.label :email, class: 'col-
|
12
|
-
<div class="col-
|
11
|
+
<%= f.label :email, class: 'col-md-2 control-label' %>
|
12
|
+
<div class="col-md-10">
|
13
13
|
<%= f.email_field :email, class: 'form-control' %>
|
14
14
|
</div>
|
15
15
|
</div>
|
16
16
|
|
17
17
|
<div class="form-group">
|
18
|
-
<%= f.label :password, class: 'col-
|
19
|
-
<div class="col-
|
18
|
+
<%= f.label :password, class: 'col-md-2 control-label' %>
|
19
|
+
<div class="col-md-10">
|
20
20
|
<%= f.password_field :password, class: 'form-control' %>
|
21
21
|
</div>
|
22
22
|
</div>
|
23
23
|
|
24
24
|
<% if devise_mapping.rememberable? -%>
|
25
25
|
<div class="form-group">
|
26
|
-
<div class="col-
|
26
|
+
<div class="col-md-10 checkbox">
|
27
27
|
<%= f.check_box :remember_me %> <%= f.label :remember_me %>
|
28
28
|
</div>
|
29
29
|
</div>
|
30
30
|
<% end -%>
|
31
31
|
|
32
32
|
<div class="form-group">
|
33
|
-
<div class="col-
|
33
|
+
<div class="col-md-10 col-md-offset-2">
|
34
34
|
<%= f.submit "Sign in", class: 'btn btn-primary' %>
|
35
35
|
<%= render partial: 'contour/links' %>
|
36
36
|
</div>
|
@@ -7,14 +7,14 @@
|
|
7
7
|
<%= devise_error_messages! %>
|
8
8
|
|
9
9
|
<div class="form-group">
|
10
|
-
<%= f.label :email, class: 'col-
|
11
|
-
<div class="col-
|
10
|
+
<%= f.label :email, class: 'col-md-2 control-label' %>
|
11
|
+
<div class="col-md-10">
|
12
12
|
<%= f.email_field :email, class: 'form-control' %>
|
13
13
|
</div>
|
14
14
|
</div>
|
15
15
|
|
16
16
|
<div class="form-group">
|
17
|
-
<div class="col-
|
17
|
+
<div class="col-md-10 col-md-offset-2">
|
18
18
|
<%= f.submit "Resend unlock instructions", class: 'btn btn-primary' %>
|
19
19
|
<%= render partial: 'contour/links' %>
|
20
20
|
</div>
|
data/lib/contour/version.rb
CHANGED
@@ -17,8 +17,8 @@
|
|
17
17
|
|
18
18
|
<%- columns.each do |column| -%>
|
19
19
|
<div class="form-group">
|
20
|
-
<%%= f.label :<%= column.name %>, nil, class: 'col-
|
21
|
-
<div class="col-
|
20
|
+
<%%= f.label :<%= column.name %>, nil, class: 'col-md-2 control-label' %>
|
21
|
+
<div class="col-md-10">
|
22
22
|
<%- if column.name.split('_').last == 'id' -%>
|
23
23
|
<%%= f.select :<%= column.name %>, [['---', nil]] + <%= column.name.split('_')[0..-2].join('_').camelize %>.current.collect{|<%= column.name.first %>| [<%= column.name.first %>.name, <%= column.name.first %>.id]}, {}, class: 'form-control' %>
|
24
24
|
<%- elsif column.field_type == :date_select -%>
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<%- end -%>
|
33
33
|
|
34
34
|
<div class="form-group">
|
35
|
-
<div class="col-
|
35
|
+
<div class="col-md-10 col-md-offset-2">
|
36
36
|
<%%= f.submit nil, class: 'btn btn-primary' %>
|
37
37
|
<%%= cancel %>
|
38
38
|
</div>
|