Sha256: 260637b8992a19e567f716464211927ecc81d645a3b9cbb68aff287f5975efd5
Contents?: true
Size: 329 Bytes
Versions: 38
Compression:
Stored size: 329 Bytes
Contents
- if model %form{:action => 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])) %input{:type => 'submit', :value => 'Save Changes'} - else %p Couldn't find the item you're looking for.
Version data entries
38 entries across 38 versions & 2 rubygems