Edit Document
{{ form_start(form,{'action':path('document_edit',{'role':role,'token':app.request.attributes.get('token'),'attr': {'role':'form','id': 'documentForm'}})}) }}
{{ form_widget(form.name, { 'attr': {'class': 'form-control', 'placeholder': 'Enter Document name','name':'name','id':'name','required':'true'} }) }}
{{ form_widget(form.file, { 'attr': {'class': 'form-control', 'placeholder': 'Enter document ','name':'file','id':'file','required':'false'} }) }}
{{ form_end(form) }}