Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save allanfreitas/b0576c118979e650299d5d1d8a0602e9 to your computer and use it in GitHub Desktop.
Save allanfreitas/b0576c118979e650299d5d1d8a0602e9 to your computer and use it in GitHub Desktop.
Symfony2: Easiest way to add an * to required field labels
/* By default, required field labels are rendered with the "required" class */
.required:after {
content: "*";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment