Add espeak for catcha.(for accessibility)
This commit is contained in:
parent
7828d0d3ea
commit
8a9c8fc17f
|
@ -401,7 +401,7 @@ class AsksController < ApplicationController
|
||||||
end
|
end
|
||||||
f1['content'] = "<div class=\"default_picker\">#{text_field_tag(field_name,nil,placeholder: placeholder,data: {format: 'yyyy/MM/dd hh:mm'},required: required, id: "ask_question_appointment_#{@appointment_idx}")}</div>"
|
f1['content'] = "<div class=\"default_picker\">#{text_field_tag(field_name,nil,placeholder: placeholder,data: {format: 'yyyy/MM/dd hh:mm'},required: required, id: "ask_question_appointment_#{@appointment_idx}")}</div>"
|
||||||
when 'recaptcha'
|
when 'recaptcha'
|
||||||
f1['content'] = "#{gotcha_error}#{gotcha}"
|
f1['content'] = "#{gotcha_error(:espeak=>true)}#{gotcha}"
|
||||||
when 'usage_rule'
|
when 'usage_rule'
|
||||||
next if ask_setting.usage_rule.blank?
|
next if ask_setting.usage_rule.blank?
|
||||||
f1['content'] = ask_setting.usage_rule
|
f1['content'] = ask_setting.usage_rule
|
||||||
|
|
Loading…
Reference in New Issue