Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Labels for attributes #11

Closed
micaweb opened this issue Feb 13, 2013 · 2 comments
Closed

Labels for attributes #11

micaweb opened this issue Feb 13, 2013 · 2 comments

Comments

@micaweb
Copy link

micaweb commented Feb 13, 2013

Mr. Ehsan, I believe it's missing the option of labels for attributes. For the moment the error messages are returning with the attribute name.

In my quick Ardent lab, I have "Your comment is required" withou Ardent validation but I'm getting "The body field is required" with Ardent.

@micaweb
Copy link
Author

micaweb commented Feb 13, 2013

Nevermind please, I'm still mixing Laravel with my ex-lover CodeIgniter, I need to get her out of my head. What I was looking for is available at lang/xx/validation.php. Please keep up the nice work with Ardent.

@micaweb micaweb closed this as completed Feb 13, 2013
@laravelbook
Copy link
Collaborator

@micaweb : Laravel 4 allows customization of validation error messages. Take a look at the official documentation. Additionally, the Ardent validate() and save() method can be passed custom error messages at run-time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants