Sha256: 9668d2d8fc06e58d2604d03989d8334f420c5e88d71eb2dc5b652f99a921b88a
Contents?: true
Size: 740 Bytes
Versions: 8
Compression:
Stored size: 740 Bytes
Contents
<div id='kitsune_record_header'> <h2 class='legend'>Edit <%= params[:model_id] %></h2> <div id='menu'> <%= 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
8 entries across 8 versions & 1 rubygems