Sha256: e8ea76de19c22e3de729e2db93c595d4edf574f3cbf664fe68fcf7dac258b4fb
Contents?: true
Size: 512 Bytes
Versions: 19
Compression:
Stored size: 512 Bytes
Contents
- if model - if resource.options[:sitemappable, false] = orange[:sitemap, true].sitemap_links(packet, {:slug_me => orange[:sitemap, true].slug_for(model, props)}) %form{:action => packet.route_to(model_name, model[:id], 'save'), :method => 'post'} - for prop in props %p!= view_attribute(prop, model_name, :label => true, :value => model.attribute_get(prop[:name]), :model => model) %input{:type => 'submit', :value => 'Save Changes'} - else %p Couldn't find the item you're looking for.
Version data entries
19 entries across 19 versions & 2 rubygems