diff --git a/app/views/entries/_entry.html.haml b/app/views/entries/_entry.html.haml index 7fa8d583..dadaf659 100644 --- a/app/views/entries/_entry.html.haml +++ b/app/views/entries/_entry.html.haml @@ -14,7 +14,7 @@ - if current_user.can_ai? && !(entry.ai_waiting_for_ai_response || params[:ai] == "generating") %div{style: "width: 43px;"} .float-right.s-edit-entry - - if current_user.can_ai? && !(entry.ai_waiting_for_ai_response || params[:ai] == "generating") + - if current_user.can_ai? && !entry.body.include?("🤖 DabbleMeGPT:") && !(entry.ai_waiting_for_ai_response || params[:ai] == "generating") = link_to process_as_ai_path(entry), method: :post, style: "margin-right: 15px;", data: { confirm: "DabbleMeGPT employs AI preview technology that may produce unusual or incorrect responses. Your entry is not retained permanently or utilized for training any AI models." } do %span{rel: "tooltip", title: "Process with DabbleMeGPT", class: "s-process-ai"}> %i.fa.fa-magic>