add i18n
This commit is contained in:
committed by
Oleksandr Turchyn
parent
3c60fb4ee6
commit
e9d728fa4a
@@ -24,7 +24,7 @@ class StartFormController < ApplicationController
|
||||
redirect_to start_form_completed_path(@template.slug, email: submitter_params[:email])
|
||||
else
|
||||
if filter_undefined_submitters(@template).size > 1 && @submitter.new_record?
|
||||
@error_message = 'Not found'
|
||||
@error_message = I18n.t('not_found')
|
||||
|
||||
return render :show
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user