Skip to content

Commit

Permalink
Updating error message style an validation message.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuswilms committed Feb 8, 2011
1 parent 2cefc0f commit 37fef22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion models/Paste.php
Expand Up @@ -46,7 +46,7 @@ class Paste extends \lithium\data\Model {
*/
public $validates = array(
'content' => 'You seem to be missing the content.',
'author' => array('alphaNumeric', 'message' => 'You forgot your alphanumeric name?'),
'author' => array('alphaNumeric', 'message' => 'Provide an alphanumeric name.'),
'language' => array('validLanguage', 'message' => 'Invalid language.')
);

Expand Down
4 changes: 0 additions & 4 deletions webroot/css/lithium_bin.css
Expand Up @@ -62,10 +62,6 @@ input[type="checkbox"] {
color: #454545;
}
.error {
background: #ffe5e5;
border: 1px solid #ffb1b1;
border-width: 1px 0 0 0;
padding: .5em 1em;
font-style: italic;
}

Expand Down

0 comments on commit 37fef22

Please sign in to comment.