category blank fix

This commit is contained in:
Harry Bomrah 2013-11-12 17:30:48 +08:00 committed by saurabhbhatia
parent f91c08ce4b
commit 3d091b692d
2 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,8 @@ class Panel::Location::BackEnd::LocationsController < OrbitBackendController
def edit
@location_info = LocationInfo.find(params[:id])
@categories = get_categories_for_index
end
def show

View File

@ -19,8 +19,8 @@
<div class="control-group">
<label class="control-label" for=""><%= t 'coordinates' %></label>
<div class="controls">
<%= f.text_field :latitude, :class=>"span2", :placeholder => "Latitude" %>
<%= f.text_field :longitude, :class=>"span2", :placeholder => "Longitude" %>
<%= f.text_field :latitude, :class=>"span2", :placeholder => "Langitude" %>
</div>
</div>