mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update contact view
This commit is contained in:
parent
21e27fc754
commit
05fed84eaa
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
||||||
You can contact the admins by using the form below.
|
You can contact the admins by using the form below.
|
||||||
@endif
|
@endif
|
||||||
</p>
|
</p>
|
||||||
|
@if(config('instance.contact.enabled'))
|
||||||
<form method="POST">
|
<form method="POST">
|
||||||
@csrf
|
@csrf
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -28,6 +29,7 @@
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary font-weight-bold py-0">Submit</button>
|
<button type="submit" class="btn btn-primary font-weight-bold py-0">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
@endif
|
||||||
@else
|
@else
|
||||||
<p class="lead">
|
<p class="lead">
|
||||||
@if(filter_var(config('instance.email'), FILTER_VALIDATE_EMAIL) == true)
|
@if(filter_var(config('instance.email'), FILTER_VALIDATE_EMAIL) == true)
|
||||||
|
|
Loading…
Reference in a new issue