10 lines
297 B
Plaintext
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> |