<%= admin_data_breadcrum do %> <%= link_to @klass, admin_data_search_path(:klass => @klass.name.underscore) %> > <%= link_to "ID #{@model.id}", ''%> <% end %>

Editing <%=@model.class.name%> id <%=@model.id%>

<% url = admin_data_on_k_path(:klass => @klass.name, :id => @model) html_options = {:class => 'form', :method => :put} %> <%= form_for @model, :as => @klass.name.underscore.to_sym, :url => url, :html=> html_options do |f| %> <%= render 'admin_data/shared/flash_message', :model => @model %> <%= render 'admin_data/main/misc/form', :klass => @klass, :f => f %> <% end %>