- if response and result = response.get_text("reversegeocode/result")
- result.to_s
- else
- "#{number_with_precision(lat, :precision => 3)}, #{number_with_precision(lon, :precision => 3)}"
+ output_buffer << content_tag(:div, :id => "#{id}_help", :class => "richtext_help") do
+ output_buffer << render("site/#{format}_help")
+ output_buffer << content_tag(:div, :class => "buttons") do
+ output_buffer << submit_tag(I18n.t("site.richtext_area.edit"), :id => "#{id}_doedit", :class => "richtext_doedit deemphasize", :disabled => true)
+ output_buffer << submit_tag(I18n.t("site.richtext_area.preview"), :id => "#{id}_dopreview", :class => "richtext_dopreview deemphasize")
+ end
+ end