Sha256: b2a38a33da23cd38ba32010673a439e3d97bf1452f9db364478d1584810175b5
Contents?: true
Size: 758 Bytes
Versions: 15
Compression:
Stored size: 758 Bytes
Contents
<div id='kitsune_record_header'> <h2 class='legend'>Edit <%= params[:model_id] %></h2> <div id='menu' class='with_form'> <%= link_to 'Back', :controller => 'admin/kitsune/records', :model_id => params[:model_id] %> </div> </div> <%= render 'form' %> <% @model.columns(:reflections).each do |column| %> <div class='reflection'> <h3><%= column.name.to_s.titleize %></h3> <%= link_to 'New', :controller => 'admin/kitsune/records', :action => :new, :model_id => column.name.to_s.classify, (@record.class.to_s.underscore+'_id').to_sym => @record.id %> <%= render :partial => 'list', :locals => { :model => Kitsune::Inspector.new(column.name.to_s.classify.constantize), :records => @record.send(column.name), :parent => @record } %> </div> <% end %>
Version data entries
15 entries across 15 versions & 2 rubygems