styled error message

This commit is contained in:
Dmitriy Zaporozhets 2012-11-21 06:14:05 +03:00
parent c1c1a1eeee
commit d18e2bd59d
2 changed files with 7 additions and 11 deletions

View file

@ -628,10 +628,11 @@ li.note {
.error_message {
@extend .cred;
border-bottom: 1px solid #D21;
padding-bottom:20px;
text-align:center;
margin-bottom:10px;
border-left: 4px solid #E99;
padding: 10px;
margin-bottom: 10px;
background: #FEE;
padding-left: 20px;
}
.oauth_select_holder {

View file

@ -1,8 +1,3 @@
- if current_user.require_ssh_key?
%h6.error_message
%span
You won't be able to pull or push project code until you
%strong
= link_to new_key_path, class: "vlink" do
add an SSH key
to your profile
%p.error_message
You won't be able to pull or push project code until you #{link_to 'add an SSH key', new_key_path} to your profile