Skip to content

Instantly share code, notes, and snippets.

@andreia
Created October 11, 2012 23:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save andreia/3876449 to your computer and use it in GitHub Desktop.
Save andreia/3876449 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