19 lines
351 B
HTML
19 lines
351 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head><title>Form ex2</title></head>
|
||
|
<body>
|
||
|
{{ if . }}
|
||
|
<p>{{ . }}</p>
|
||
|
{{ else }}
|
||
|
<form method="POST" enctype="multipart/form-data">
|
||
|
<label>
|
||
|
Fichier:
|
||
|
<input type="file" name="file"/>
|
||
|
</label>
|
||
|
<input type="submit" value="Submit"/>
|
||
|
</form>
|
||
|
{{ end }}
|
||
|
</body>
|
||
|
</html>
|
||
|
|