washout_builder 0.3.9 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,6 @@ module WashoutBuilderHelper
|
|
42
42
|
defined.concat(nested)
|
43
43
|
end
|
44
44
|
end
|
45
|
-
defined << {:class =>"ValidationErrors", :obj => nil} unless get_fault_types_names(map).blank?
|
46
45
|
defined.sort_by { |hash| hash[:class].downcase }.uniq unless defined.blank?
|
47
46
|
end
|
48
47
|
|
@@ -66,16 +65,7 @@ module WashoutBuilderHelper
|
|
66
65
|
|
67
66
|
|
68
67
|
|
69
|
-
def create_html_complex_type_validation_errors(xml)
|
70
|
-
xml.a( "name" => "ValidationErrors") { }
|
71
|
-
xml.h3 "ValidationErrors"
|
72
68
|
|
73
|
-
xml.ul("class" => "pre") {
|
74
|
-
xml.li { |pre| pre << "<span class='blue'>string</span> <span class='bold'>related</span>" }
|
75
|
-
xml.li { |pre| pre << "<span class='blue'>string</span> <span class='bold'>message</span>" }
|
76
|
-
xml.li { |pre| pre << "<span class='blue'>Array of string</span> <span class='bold'>arguments</span>" }
|
77
|
-
}
|
78
|
-
end
|
79
69
|
|
80
70
|
|
81
71
|
|