yodate
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ GIT
|
|||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: https://github.com/bterkuile/cmtool.git
|
remote: https://github.com/bterkuile/cmtool.git
|
||||||
revision: 647cc38bad68c3bebc304f52fd54540f4559cae3
|
revision: 69a0291ab7097fa9a1f4ce6f605b89962a9caa76
|
||||||
branch: master
|
branch: master
|
||||||
specs:
|
specs:
|
||||||
cmtool (3.0.0)
|
cmtool (3.0.0)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ class ContactFormsController < ApplicationController
|
|||||||
@contact_form = Cmtool::ContactForm.new(contact_form_params)
|
@contact_form = Cmtool::ContactForm.new(contact_form_params)
|
||||||
if @contact_form.save
|
if @contact_form.save
|
||||||
Notifier.contact_form(@contact_form.id).deliver_later
|
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
|
else
|
||||||
redirect_to page_path('contact', locale: I18n.locale), alert: @contact_form.errors.full_messages.join(', ')
|
redirect_to page_path('contact', locale: I18n.locale), alert: @contact_form.errors.full_messages.join(', ')
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
h1 QR Scan landing page
|
h1 QR Scan landing page
|
||||||
p |
|
p
|
||||||
You are
|
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
|
||||||
|
|||||||
@@ -16,5 +16,5 @@
|
|||||||
.large-8.columns.end= f.email_field :email
|
.large-8.columns.end= f.email_field :email
|
||||||
.row
|
.row
|
||||||
.large-12.columns
|
.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
|
.large-3.columns== @page.sidebar
|
||||||
|
|||||||
Reference in New Issue
Block a user