Changeset 1137:67d6b276ec8e for inc
- Timestamp:
- 03/29/13 07:03:08 (12 years ago)
- Branch:
- twig
- Location:
- inc/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/class.dc.form.php
r1090 r1137 376 376 public function __toString() 377 377 { 378 return $this->value;378 return (string) $this->value; 379 379 } 380 380 -
inc/admin/default-templates/form_layout.html.twig
r1001 r1137 48 48 <label for="{{name}}" class="classic"> 49 49 {% endif %} 50 <input type="checkbox" {{ block(' widget_attributes') }}{% if value is defined %} value="{{ value }}"{% endif %}{% if checked %} checked="checked"{% endif %} />50 <input type="checkbox" {{ block('field_attr') }}{% if value is defined %} value="{{ value }}"{% endif %}{% if checked %} checked="checked"{% endif %} /> 51 51 {% if label is not empty %} 52 52 {{ label }}</label>
Note: See TracChangeset
for help on using the changeset viewer.