Sha256: c31017a95994cca014d26927973ebdf5aff99771b6ad747e19e9a7bf7cbf3f08
Contents?: true
Size: 406 Bytes
Versions: 38
Compression:
Stored size: 406 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'} = form_link('Publish', packet.route_to(model_name, model[:id], 'publish')) - else %p Couldn't find the item you're looking for.
Version data entries
38 entries across 38 versions & 2 rubygems