mirror of https://git.stjo.hn/planiverse
Don't strip out content warnings in replies
By default include the original spoiler text in replies so as not to accidentally strip out content warnings.
This commit is contained in:
parent
7d68f883ea
commit
48a758d45e
|
@ -20,7 +20,12 @@
|
||||||
|
|
||||||
@if ($logged_in)
|
@if ($logged_in)
|
||||||
<form method="post" action="/timeline/home">
|
<form method="post" action="/timeline/home">
|
||||||
<input type="text" name="spoiler_text" placeholder="Spoiler/Warning" />
|
<input
|
||||||
|
type="text"
|
||||||
|
name="spoiler_text"
|
||||||
|
placeholder="Spoiler/Warning"
|
||||||
|
value="{{ $status['spoiler_text'] }}"
|
||||||
|
/>
|
||||||
<textarea rows="4" name="status" placeholder="Reply" required autofocus>{{ $status['account']['acct'] }} @foreach ($status['mentions'] as $mention){{ $mention['acct'] }} @endforeach</textarea>
|
<textarea rows="4" name="status" placeholder="Reply" required autofocus>{{ $status['account']['acct'] }} @foreach ($status['mentions'] as $mention){{ $mention['acct'] }} @endforeach</textarea>
|
||||||
<input type="submit" value="Post" />
|
<input type="submit" value="Post" />
|
||||||
<input type="hidden" name="in_reply_to_id" value="{{ $status['id'] }}" />
|
<input type="hidden" name="in_reply_to_id" value="{{ $status['id'] }}" />
|
||||||
|
|
Loading…
Reference in New Issue