Implement offline POST method for starting an offline participation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
ActionView::Base.field_error_proc = proc do |html_tag, instance|
|
||||
if html_tag.include? "<label"
|
||||
if (html_tag.include? "<label") || (html_tag.include? "<input accept=\"image")
|
||||
appended_html = ""
|
||||
if instance.error_message.is_a?(Array)
|
||||
appended_html = "<div class='error-message form-text'>#{instance.error_message.map(&:capitalize).uniq.join(", ")}</div>"
|
||||
|
||||
Reference in New Issue
Block a user