category blank fix
This commit is contained in:
parent
f91c08ce4b
commit
3d091b692d
|
@ -22,6 +22,8 @@ class Panel::Location::BackEnd::LocationsController < OrbitBackendController
|
||||||
|
|
||||||
def edit
|
def edit
|
||||||
@location_info = LocationInfo.find(params[:id])
|
@location_info = LocationInfo.find(params[:id])
|
||||||
|
@categories = get_categories_for_index
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for=""><%= t 'coordinates' %></label>
|
<label class="control-label" for=""><%= t 'coordinates' %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
|
<%= f.text_field :latitude, :class=>"span2", :placeholder => "Latitude" %>
|
||||||
<%= f.text_field :longitude, :class=>"span2", :placeholder => "Longitude" %>
|
<%= f.text_field :longitude, :class=>"span2", :placeholder => "Longitude" %>
|
||||||
<%= f.text_field :latitude, :class=>"span2", :placeholder => "Langitude" %>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue