You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/views/application/_draft_present_alert.html.erb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,6 @@
2
2
<divclass="alert draft-present-alert">
3
3
Data was restored from an incomplete draft.
4
4
5
-
If you want, you can <%=link_to"discard the draft and start over",discard_draft_url,class: "discard-draft-link",method: :put,remote: true%>.
5
+
If you want, you can <%=link_to"discard the draft and start over",discard_draft_url,class: "discard-draft-link",method: :put,remote: true,data: {confirm: "Are you sure you want to discard this draft and start over?"}%>.
0 commit comments