mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-31 19:36:44 +01:00
add ujs disable hooks
This commit is contained in:
parent
969822946f
commit
0db101fca4
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@
|
|||
' [Loading preview...]
|
||||
|
||||
.block__content.communication-edit__actions
|
||||
=> submit "Post", class: "button"
|
||||
=> submit "Post", class: "button", data: [disable_with: raw("Posting…")]
|
||||
|
||||
= if @conn.assigns.current_user do
|
||||
= checkbox f, :anonymous, value: anonymous_by_default?(@conn)
|
||||
|
|
|
@ -83,4 +83,4 @@
|
|||
' [Loading preview...]
|
||||
|
||||
.block__content.communication-edit__actions
|
||||
= submit "Post", class: "button"
|
||||
= submit "Post", class: "button", data: [disable_with: raw("Posting…")]
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
' [Loading preview...]
|
||||
|
||||
.block__content.communication-edit__actions
|
||||
= submit "Post", class: "button"
|
||||
=> submit "Post", class: "button", data: [disable_with: raw("Posting…")]
|
||||
|
||||
= if @conn.assigns.current_user do
|
||||
= checkbox f, :anonymous, value: anonymous_by_default?(@conn)
|
||||
|
|
Loading…
Reference in a new issue