Sha256: 1bab7e5c2e4a2de4dec66d6f8e32252b38f5430c480a823a9fc9870deb704568
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 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 - next unless [:show_ads, :linked_in_group, :vimeo_page, :spreedly_on].include? prop[:name] %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"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
orange-sparkles-0.5.7 | lib/orange-sparkles/views/orange_sites/edit.haml |