Sha256: 3cac4a7dd6e55f07e19dc1334ed00b6f4ed3d29160222790150c11dc46e044de

Contents?: true

Size: 644 Bytes

Versions: 8

Compression:

Stored size: 644 Bytes

Contents

#kitsune_record_header
  %h2.legend Edit #{params[:model_id]}
  #menu.with_form
    = link_to 'Back', :controller => 'admin/kitsune/records', :model_id => params[:model_id]

= render 'form'

- @model.columns(:reflections).each do |column|
  .reflection
    %h3= column.name.to_s.titleize
    = 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 }

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kitsune-0.1.3 app/views/admin/kitsune/records/edit.html.haml
kitsune-0.1.2 app/views/admin/kitsune/records/edit.html.haml
kitsune-0.1.1 app/views/admin/kitsune/records/edit.html.haml
kitsune-0.1.0 app/views/admin/kitsune/records/edit.html.haml
kitsune-0.0.19 app/views/admin/kitsune/records/edit.html.haml
kitsune-0.0.18 app/views/admin/kitsune/records/edit.html.haml
kitsune-0.0.17 app/views/admin/kitsune/records/edit.html.haml
kitsune-0.0.16 app/views/admin/kitsune/records/edit.html.haml