- 1
- 2
- 3
- 4
- 5
{% if _view.data['User']['bday']|date("Y") != "2100" %}
<input id="UserBDay" type="text" name="data[User][bday]" class="txt" placeholder="mm/dd/YYYY" value="{% if _view.data['User']['bday'] != '1970-01-01' %} {{ _view.data['User']['bday']|date("m/d/Y") }} {% endif %}">
{% else %}
<input id="UserBDay" type="text" name="data[User][bday]" class="txt" placeholder="mm/dd/YYYY" value="{% if _view.data['User']['bday'] != '1970-01-01' %} {{ _view.data['User']['bday']|date("m/d/") }} {% endif %}">
{% endif %}