Hi all. I have problem with file uploading on website form.
I have this code in frontpage.md
- custom_file: fileds
label: 'Upload file'
Site shows file input ,but without any labels and actions. Anybody knows why it is not working? Please help
@rhukster exactly this code ?And all is fine?
Make sure indenting is all ok. Try adding a new line after the
- (keep it on a line alone)
@flaviocopes thanks ,all is working. But, i have another problem, when i tried to delete just uploaded file. Grav can not remove file. It requires some ‘gran-n.json’ file ,where ‘grav-n’ is project name.I did not find the answer in the documentation and can not understand what could be the problem. Screen Shot 2016-10-28 at 13
Is this form in the home page?
@arrtych1 how did you fix your file upload issue? I have the same issue and can’t make it work. I’m using the deliver theme.
classes: 'form-control form-control-lg'
placeholder: 'Votre message'
label: 'vos photos'