category blank fix
This commit is contained in:
parent
f91c08ce4b
commit
3d091b692d
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue