Skip to content
Browse files

Updating error message style an validation message.

  • Loading branch information...
1 parent 2cefc0f commit 37fef222fe962dccfcf6710950ace146fac501b9 @davidpersson davidpersson committed
Showing with 1 addition and 5 deletions.
  1. +1 −1 models/Paste.php
  2. +0 −4 webroot/css/lithium_bin.css
View
2 models/Paste.php
@@ -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.')
);
View
4 webroot/css/lithium_bin.css
@@ -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;
}

0 comments on commit 37fef22

Please sign in to comment.
Something went wrong with that request. Please try again.