Fix misleading error when attempting to re-send a pending follow request (#13133)
Fixes #13131
This commit is contained in:
parent
d91946ae13
commit
cf4fe6caef
3 changed files with 9 additions and 3 deletions
|
@ -10,6 +10,12 @@
|
|||
%strong
|
||||
= t('authorize_follow.already_following')
|
||||
|
||||
= render 'post_follow_actions'
|
||||
- elsif current_account.requested?(@resource)
|
||||
.flash-message
|
||||
%strong
|
||||
= t('authorize_follow.already_requested')
|
||||
|
||||
= render 'post_follow_actions'
|
||||
- else
|
||||
= form_tag authorize_interaction_path, method: :post, class: 'simple_form' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue