-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keys' form is added to same page as index. Moved aside bar on user settings page to a partial. A few changes in style to set active class of aside bar.
- Loading branch information
1 parent
ff2e446
commit ad45ec2
Showing
11 changed files
with
45 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -390,4 +390,4 @@ DEPENDENCIES | |
will_paginate | ||
|
||
BUNDLED WITH | ||
1.10.2 | ||
1.10.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
%aside | ||
%h1 | ||
User Settings | ||
%nav | ||
%ul | ||
%li{ data: 'profile' } | ||
= link_to 'Profile', edit_user_registration_path | ||
%li{ data: 'identities' } | ||
= link_to 'Identities', identities_path | ||
%li{ data: 'keys' } | ||
= link_to 'SSH Keys', keys_path | ||
-# | ||
%li | ||
= link_to 'Passwords' | ||
%li | ||
= link_to 'Projects', identities_path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
%p | ||
%strong Add keys to your account | ||
= form_for @key do |f| | ||
- @key.errors.full_messages.each do |msg| | ||
%p.error_message | ||
= msg | ||
= f.label :title | ||
= f.text_field :title, placeholder: 'Title', autofocus: true | ||
= f.label :key | ||
= f.text_area :key, rows: 8 | ||
= f.submit 'Add key' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters