How can I modify the html of the fileupload?

2018-09-07 Thread Jorge Cadena
I want to modify or format the html generators by the input type="file". I want to give it its own style, with the same structure as the html of the input type="file", of the admin but: I'm rendering the form, manually, to add materializecss styles https://docs.djangoproject.com/en/2.1/topi

Re: How can I modify the html of the fileupload?

2018-09-07 Thread Jorge Cadena
I forgot to leave, as I render the input {% elif field.field.widget.input_type in "file" %} {{ field.errors }} {{ field.label }}