Fix cat avatar for non-admin users

This commit is contained in:
Philipp 2021-05-29 21:57:14 +02:00
parent f014d84798
commit 58e38651b2
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD

View File

@ -11,14 +11,14 @@
<img src="{{$basepath}}/catavatar/{{$uid}}?{{$uncache}}">
<p>{{$setrandomize}}</p>
<div class="settings-submit-wrapper" >
<input type="submit" name="catavatar-usecat"
class="btn btn-primary settings-submit" value="{{$usecat}}" />
<button type="submit" name="catavatar-usecat"
class="btn btn-primary settings-submit" value="{{$usecat}}">{{$usecat}}</button>
<div class="btn-group" role="group" aria-label="...">
<input type="submit" name="catavatar-morecat"
class="btn btn-default settings-submit" value="{{$morecat}}" />
<input type="submit" name="catavatar-emailcat" {{if !$seed}}disabled{{/if}}
class="btn btn-default settings-submit" value="{{$emailcat}}" />
<button type="submit" name="catavatar-morecat"
class="btn btn-default settings-submit" value="{{$morecat}}">{{$morecat}}</button>
<button type="submit" name="catavatar-emailcat" {{if !$seed}}disabled{{/if}}
class="btn btn-default settings-submit" value="{{$emailcat}}">{{$emailcat}}</button>
</div>
</div>
</div>