Use multipart/form-data for forms
This commit is contained in:
parent
04fdd2ae8e
commit
6d18209d29
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
<header>
|
<header>
|
||||||
<h2>{ %community.name }</h2>
|
<h2>{ %community.name }</h2>
|
||||||
</header>
|
</header>
|
||||||
<form action="/login" method="post">
|
<form action="/login" method="post" enctype="multipart/form-data">
|
||||||
<h3>Login</h3>
|
<h3>Login</h3>
|
||||||
<label>
|
<label>
|
||||||
<div>Username</div>
|
<div>Username</div>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<form action="/cluster/communities/create" method="post">
|
<form action="/cluster/communities/create" method="post" enctype="multipart/form-data">
|
||||||
<h2>Create Local Community</h2>
|
<h2>Create Local Community</h2>
|
||||||
<label>
|
<label>
|
||||||
<div>Origin</div>
|
<div>Origin</div>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<header>
|
<header>
|
||||||
<h2>{ %community.name }</h2>
|
<h2>{ %community.name }</h2>
|
||||||
</header>
|
</header>
|
||||||
<form action="/signup" method="post">
|
<form action="/signup" method="post" enctype="multipart/form-data">
|
||||||
<h3>Sign Up</h3>
|
<h3>Sign Up</h3>
|
||||||
{#if .error_msg |$msg| =}
|
{#if .error_msg |$msg| =}
|
||||||
<div class="error">Error: {$msg}</div>
|
<div class="error">Error: {$msg}</div>
|
||||||
|
|
Loading…
Reference in a new issue