15q88g
Last Updated: May 10, 2018
·
8.351K
· andreia
Mesr

Symfony2 Forms: Easiest way to add an * to required field labels

By default, required field labels are rendered with the "required" class. To add an asterisk in these labels, just add the following in your stylesheet:

.required:after {
    content: "*";
}
Say Thanks
Respond

3 Responses
Add your response

12701
11fc3dc89e347224df2938cb4e3fc505

Thanks a lot! This is so simple and definitely effective.

over 1 year ago ·
22118
395037728421 256  1
over 1 year ago ·
29883

Thanks for sharing me to play the klondike solitaire here https://solitaire-klondike.net with all unlocked level.

3 months ago ·