error messages restyled
This commit is contained in:
parent
c9ea5f1316
commit
b7614c714e
3 changed files with 9 additions and 8 deletions
|
@ -9,4 +9,3 @@
|
|||
*= require_self
|
||||
*= require common
|
||||
*/
|
||||
|
||||
|
|
|
@ -310,8 +310,7 @@ body.login-page{background-color: #f1f1f1; padding-top: 10%}
|
|||
input[type="password"],
|
||||
textarea
|
||||
{
|
||||
border: 1px solid #FFBBBB;
|
||||
background: #fff4f6;
|
||||
border: 1px solid #D30 !important;
|
||||
}
|
||||
}
|
||||
/* eo Errors */
|
||||
|
@ -711,13 +710,14 @@ body, button, input, select, textarea {
|
|||
|
||||
|
||||
.errors_holder {
|
||||
background:#FBB;
|
||||
background:#D30;
|
||||
color:#fff;
|
||||
border:1px solid $lite_border_color;
|
||||
@include round-borders-all(4px);
|
||||
padding:5px;
|
||||
list-style:none;
|
||||
font-weight: bold;
|
||||
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
|
||||
li {
|
||||
padding:10px;
|
||||
|
|
|
@ -27,9 +27,11 @@ class DeployKeysController < ApplicationController
|
|||
|
||||
def create
|
||||
@key = @project.deploy_keys.new(params[:key])
|
||||
@key.save
|
||||
|
||||
if @key.save
|
||||
redirect_to project_deploy_keys_path(@project)
|
||||
else
|
||||
render "new"
|
||||
end
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
|
Loading…
Reference in a new issue