Form Upload file to assets not working

The upload_audio.0 failed to upload.

The field is called upload_audio, the form is called upload_form, and i'm calling it into the template using:

 {{ form:upload_form }}
    {{ if success }}


{{ success }}
{{ else }} {{ if errors }} <div class="bg-red-300 text-white p-2"> {{ errors }} {{ value }}<br> {{ /errors }} </div> {{ /if }} {{ fields }} <div class="p-2"> <label>{{ display }}</label> <div class="p-1 border-solid border-rounded-sm border-1 border-gray-600">{{ field }}</div> {{ if error }} <p class="text-gray-500">{{ error }}</p> {{ /if }} </div> {{ /fields }} <button type="submit">Submit</button> {{ /if }} {{ /form:upload_form }}
Answered by Michael Manos!
>>>>>>> Answered <<<<<<<
1 Reply
1 Follower