admin_auth 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjQ4MDk1ODMwYjQzMzRmNmNkY2Y3MDQ5MTM5OTU2NDcwNjIxNmM4OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDZjNjdhZWY3ODQ3MTJlNGVhNmU0MDk0NWVkMzMxNWI2YWI0Y2VhZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmE3NTM5ZWFkZDZiZmU0YmJiYzQ1MGQ0MGQzNTJhM2VmODA1ZjVkMWUzMDIx
|
10
|
+
ZWZkMGFhYWY3NGE2ZjFlZDM2NGQwNzYyMWVhYTNjZWRhY2Y2NjAzNWFhNzJi
|
11
|
+
ZDI3YWM3ZjRmNTU4ZTJiZjM1NDFlODhkMjQ1NGY4ZGY4YTgzNWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MmUyMTgxY2ViOGMxZTVkNjY0MzczYTFlMjM5NjNkNWZiYjgwZTUwNTA2MjEx
|
14
|
+
ZTM2NWU5NjRlYzk3NTUyYjM4ZjJjZTUxYjhjNDg0YzZlNjM0YTExMzAxYjNj
|
15
|
+
ZjU0M2Q4ODJjMzU4MGIxNjZlNTAwODIyYzg1MWM0NTcyOWU2NDk=
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.admin-auth.edit
|
2
2
|
%h2= 'Edit admin'
|
3
3
|
= form_for admin, url: admin_admin_path(locale, admin), method: :put do |f|
|
4
|
-
= f.password_field :password, placeholder: '********'
|
5
|
-
= f.password_field :password_confirmation, placeholder: '********'
|
6
|
-
= f.submit 'Save'
|
4
|
+
.section= f.password_field :password, placeholder: '********'
|
5
|
+
.section= f.password_field :password_confirmation, placeholder: '********'
|
6
|
+
.section.actions= f.submit 'Save'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.admin-auth.new
|
2
2
|
%h2= 'New admin'
|
3
3
|
= form_for admin, url: admin_admins_path(locale), method: :post do |f|
|
4
|
-
= f.text_field :email, placeholder: 'email@email.com'
|
5
|
-
= f.password_field :password, placeholder: '********'
|
6
|
-
= f.password_field :password_confirmation, placeholder: '********'
|
7
|
-
= f.submit 'Save'
|
4
|
+
.section= f.text_field :email, placeholder: 'email@email.com'
|
5
|
+
.section= f.password_field :password, placeholder: '********'
|
6
|
+
.section= f.password_field :password_confirmation, placeholder: '********'
|
7
|
+
.section.actions= f.submit 'Save'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.admin-auth.login
|
2
2
|
%h2= 'Admin login'
|
3
3
|
= form_for admin, url: admin_login_path(locale), method: :post do |f|
|
4
|
-
= f.text_field :email, placeholder: 'email@email.com'
|
5
|
-
= f.password_field :password, placeholder: '********'
|
6
|
-
= f.submit 'Login'
|
4
|
+
.section= f.text_field :email, autofocus: true, placeholder: 'email@email.com'
|
5
|
+
.section= f.password_field :password, placeholder: '********'
|
6
|
+
.section.actions= f.submit 'Login'
|
data/lib/admin_auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: admin_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phillip Boksz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt
|