Files
framework/app/common/files/views/form.mustache
T
2023-01-24 20:35:43 +00:00

10 lines
297 B
Plaintext

{{@ if( {{id}} ): @}}
<form method="POST" action="/files/{{id}}/edit">
<input type="hidden" name="id" value="{{id}}" />
<input type="hidden" name="_method" value="put" />
{{@ else: @}}
<form method="POST" action="/files">
<input type="hidden" name="id" value="" />
{{@ endif; @}}
</form>