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

Version Path
kitsune-0.0.13 app/views/admin/kitsune/records/edit.html.erb
kitsune-0.0.12 app/views/admin/kitsune/records/edit.html.erb
kitsune-0.0.11 app/views/admin/kitsune/records/edit.html.erb
kitsune-0.0.10 app/views/admin/kitsune/records/edit.html.erb
kitsune-0.0.9 app/views/admin/kitsune/records/edit.html.erb
kitsune-0.0.8 app/views/admin/kitsune/records/edit.html.erb
kitsune-0.0.7 app/views/admin/kitsune/records/edit.html.erb
kitsune-0.0.6 app/views/admin/kitsune/records/edit.html.erb