2
I would like to turn an image into a button, but keeping the Submit property (send form to it) is possible? The code below demonstrates what I wanted to do:
<form method="post" action={{route('relatorio.Pessoa')}}>
<input type="image" src="https://icons-for-free.com/iconfiles/png/512/32px+Free+Set+Download-1320568210130207016.png" title="Gerar relatório pdf" style="max-widht:32px; max-height:32px;">
<input type="submit" src="https://icons-for-free.com/iconfiles/png/512/32px+Free+Set+Download-1320568210130207016.png" title="Gerar relatório pdf">
</form>
In the first input is an image I wanted, but I can not submit the form. In the second input I submit the form, but the image does not appear.