Permalink
Browse files

add format to lat/lon

  • Loading branch information...
1 parent 76096f8 commit 89356e86c6fde1df85eff957b13c979492a85f1a @tripodrob tripodrob committed Feb 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/controllers/buildings_controller.rb
@@ -10,6 +10,8 @@ class BuildingsController < ApplicationController
conf.columns[:building_topography].label = "Topographical Orientation"
conf.columns[:building_topography].form_ui = :select
conf.columns[:building_topography].actions_for_association_links = [:show]
+ conf.columns[:latitude].options[:format] = "%6.8f"
+ conf.columns[:longitude].options[:format] = "%6.8f"
conf.list.columns.exclude :note
conf.list.sorting = {:name => 'ASC'}

0 comments on commit 89356e8

Please sign in to comment.