Something went right, please try again!

Deface is a Rails 3 plugin for customizing ERB views without editing the underlying template file.

Deface Source is available on Github, patches, bugs and suggestions welcome.
  Source for this app is available on Github, patches, bugs and suggestions welcome.
 

Original & Replacement

ERB HAML
ERB Markup (paste view code here)
Escaped Markup (automatically generated)
Matches: (0) Ex: "div.products", "ul li:last", "p#comment_22"
Matches: (0) Ex: "div.products", "ul li:last", "p#comment_22"

Action to be performed.
ERB HAML
ERB /HAML to be used as replacement.
When using :set_attributes contents should be hash, Ex: {:attr => 'value'}

Result

Final Result (automatically generated)