Frontend Validation. Sanitize values in the back.

This commit is contained in:
Flavio Copes 2015-10-07 16:23:32 +02:00
parent 9b60894114
commit e0e1782067
3 changed files with 64 additions and 34 deletions

View file

@ -56,7 +56,7 @@
<span data-toggle="children" data-hint="Something" class="hint--bottom js__comments-list-toggle">
<i class="page-icon fa fa-fw fa-circle-o children-closed"></i>
</span>
<a href="#" class="page-edit">{{ file.data.name ?: file.fileName }}</a>
<a href="#" class="page-edit">{{ file.data.title ?: file.fileName }}</a>
<!-- <span class="page-home"><i class="fa fa-home"></i></span> -->
<p class="page-route">{% if file.data.hasUnread %}<span class="gpm-version">Has {{file.data.unreadCount}} unread comments</span>{% else %}<span class="gpm-version">{{file.data.comments|length}} comments</span>{% endif %}</p>