make avi upload required
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
<span class="avatar-form-controls">
|
<span class="avatar-form-controls">
|
||||||
<label for="avatar" class="linkbutton alt">Upload…</label>
|
<label for="avatar" class="linkbutton alt">Upload…</label>
|
||||||
<span class="avatar-form-size-label">1MB max. Will be cropped to square.</span>
|
<span class="avatar-form-size-label">1MB max. Will be cropped to square.</span>
|
||||||
<input type="file" style="display: none;" id="avatar" name="avatar" accept="image/*">
|
<input type="file" style="display: none;" id="avatar" name="avatar" accept="image/*" required>
|
||||||
<input type="submit" value="Save">
|
<input type="submit" value="Save">
|
||||||
<input type="submit" class="warn" value="Clear" formaction="{{url_for('users.clear_avatar', username=user.username)}}">
|
<input type="submit" class="warn" value="Clear" formaction="{{url_for('users.clear_avatar', username=user.username)}}">
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user