Skip to content

Commit

Permalink
Changed layout for requored form fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
imenem committed Mar 3, 2013
1 parent 0269691 commit de1a6bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Resources/public/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
}
}

.required:after
{
content: '\2217';
color: #BB0000;
font-weight: bold;
}

.sonata-bc .navbar a.brand {
margin: 0px;
padding: 0px;
Expand Down
1 change: 0 additions & 1 deletion Resources/views/Form/form_admin_fields.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ file that was distributed with this source code.
{% else %}
{{ sonata_admin.admin.trans(label) }}
{% endif %}
{{ required ? '*' : '' }}
</label>
{% endif %}
{% endif %}
Expand Down

0 comments on commit de1a6bd

Please sign in to comment.