[Answer]-Insert an html tag to Django form

1👍

If you have simple template that build form, cleanest way here is to add additional tags by JavaScript. If you are using JQuery, you can use .after method:

$('#id_fecha').after('<span class="add-on"><i class="icon-th"></i></span>');

It saves your template simple.

Leave a comment