lib/orange-sparkles/views/news/edit.haml in orange-sparkles-0.5.9 vs lib/orange-sparkles/views/news/edit.haml in orange-sparkles-0.7.0

- old
+ new

@@ -1,9 +1,9 @@ .form-view - 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'} + %form{:action => packet.route_to(model_name, model[:id], 'save'), :method => 'post', :"accept-charset" => "UTF-8"} - packet["page.title"] = "#{model_name.to_s.capitalize} > Edit" - for prop in props %p!= view_attribute(prop, model_name, :label => true, :value => model.attribute_get(prop[:name])) - if prop[:name].to_s == "link" %p \ No newline at end of file