From a1c1a0c34e2fac49503fa8aa8ad8f7e454c55ae3 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Sun, 8 Feb 2026 20:00:34 -0500 Subject: [PATCH] yodate --- Gemfile.lock | 2 +- app/controllers/contact_forms_controller.rb | 2 +- app/views/dashboard/scan.html.slim | 13 +++++++++++-- app/views/pages/contact.html.slim | 2 +- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 97afb284..1fb87036 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,7 +10,7 @@ GIT GIT remote: https://github.com/bterkuile/cmtool.git - revision: 647cc38bad68c3bebc304f52fd54540f4559cae3 + revision: 69a0291ab7097fa9a1f4ce6f605b89962a9caa76 branch: master specs: cmtool (3.0.0) diff --git a/app/controllers/contact_forms_controller.rb b/app/controllers/contact_forms_controller.rb index 891f79ca..4b7d55cc 100644 --- a/app/controllers/contact_forms_controller.rb +++ b/app/controllers/contact_forms_controller.rb @@ -3,7 +3,7 @@ class ContactFormsController < ApplicationController @contact_form = Cmtool::ContactForm.new(contact_form_params) if @contact_form.save Notifier.contact_form(@contact_form.id).deliver_later - redirect_to root_path, notice: t('contact_form.submitted') + redirect_to root_path, notice: t('website.contact_form.submitted') else redirect_to page_path('contact', locale: I18n.locale), alert: @contact_form.errors.full_messages.join(', ') end diff --git a/app/views/dashboard/scan.html.slim b/app/views/dashboard/scan.html.slim index 06c09b03..58f94885 100644 --- a/app/views/dashboard/scan.html.slim +++ b/app/views/dashboard/scan.html.slim @@ -1,3 +1,12 @@ h1 QR Scan landing page -p | - You are +p + span You scanned a QR code of a + a<> href="https://mozo.bar" mozo.bar + span table. + br + span If you see this page, that means that you did not scan it using the Mozo Web App. + span. If you already have an ccount, please go to the: + a<> href="https://user.mozo.bar/" Mozo User App. + br + span If not, please go to the: + a< href="https://mozo.bar" Mozo User Account Page diff --git a/app/views/pages/contact.html.slim b/app/views/pages/contact.html.slim index 50ce34e7..6a141ca1 100644 --- a/app/views/pages/contact.html.slim +++ b/app/views/pages/contact.html.slim @@ -16,5 +16,5 @@ .large-8.columns.end= f.email_field :email .row .large-12.columns - = f.submit t('contact_form.send_button'), class: 'button' + = f.submit t('website.contact_form.send_button'), class: 'button' .large-3.columns== @page.sidebar