<%= link_to @klass, admin_data_search_path(:klass => @klass.name) %> > <%= link_to "ID #{@model.id}", ''%>
<% url = admin_data_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 %>