Sha256: 9fc68613bb7bde458da85fdd1418a9d5cd471afd738515252993fe3ed2868516
Contents?: true
Size: 624 Bytes
Versions: 1
Compression:
Stored size: 624 Bytes
Contents
%br %h2 Site Settings .form-view - 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'} %br.clearfix - else %p Couldn't find the item you're looking for. - packet["page.title"] = "Site Settings" - if orange.loaded?(:adverts) %h2 Site Ads = view_list(:adverts, :is_short => true) - if orange.loaded?(:contactforms) %h2 Contact Forms = view_list(:contactforms, :is_short => true)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
orange-sparkles-0.5.9 | lib/orange-sparkles/views/orange_sites/edit.haml |