Title for custom Field : class title or subtile

This commit is contained in:
Marc Ducobu
2014-11-10 16:05:26 +01:00
parent ac0e7a59b4
commit ab51e3c7f4
2 changed files with 18 additions and 10 deletions

View File

@@ -1,9 +1,9 @@
{% block custom_field_title_widget %}
dump(attr)
{# suggestion : {{ dump(form) }} to see all attributes from the form and pick the value or label #}
<span class="{{ form.vars.attr.type }}">
{{ form.vars.attr.title }}
</span>
{% endblock custom_field_title_widget %}
{# render an alement in a choice list #}
{% block cf_choices_list_widget %}
@@ -74,11 +74,6 @@ jQuery(document).ready(initialize_{{ form.vars.id }}('ul_' + '{{ form.vars.id }}
{% endblock cf_choices_widget %}
{% block choice_with_other_widget %}
<h1>echo</h1>