Category Details
<%= form_for(@category, :as => :category, :url => {:action => :update_category}, :html => {:method => 'post', :id => 'platform_form'}) do |form| %>
<%= form.hidden_field :parent_id %> <%= form.hidden_field :id %>
Parent Category: <%=@parent.name %>
Name: <%= form.text_field :name, :size=>"50" %>
Keyword: <%= form.text_field :keyword, :size=>"50" %>
Position: <%= form.text_field :position, :size=>"50" %>
Enable On: <%= form.text_field :enable_on, :size=>"50" %>
Disable On: <%= form.text_field :disable_on, :size=>"50" %>
<%= render('/platform/admin/common/lightbox_buttons') %> <% end %>