diff --git a/forms/tn_search.rb b/forms/tn_search.rb index 252efab02f68717051d0331d16c9d5f6ed317ac1..d63bea84947abbef4960503d743d534bd3c88da3 100644 --- a/forms/tn_search.rb +++ b/forms/tn_search.rb @@ -1,15 +1,24 @@ form! title "Search Telephone Numbers" -instructions @error if @error + +if @error + instructions @error +else + instructions( + "You can search for a telephone number you like, for example by " \ + "an area code (like 810) or a state code (like MI)." + ) +end + field( var: "q", required: true, type: "text-single", label: "Search Telephone Numbers", description: - "Enter one of: Area code; six or seven digit " \ - "number prefix; zip code; state/province code; " \ - "city, state/province code; or indicate a vanity pattern with ~" + "Enter one of: area code; zip or postal code; state or provice code; " \ + "six or seven digit number prefix; city, state/province code; " \ + "or indicate a vanity pattern with ~" ) xml.set(xmlns: "http://jabber.org/protocol/rsm")