lib/generators/templates/view.erb in apotomo-1.1.1 vs lib/generators/templates/view.erb in apotomo-1.1.2
- old
+ new
@@ -1,7 +1,9 @@
-<h1>
- <%= class_name %>Widget#<%= @state %>
-</h1>
+<%%= widget_div do %>
+ <h1>
+ <%= class_name %>Widget#<%= @state %>
+ </h1>
-<p>
- Find me in <%= @path %>
-</p>
+ <p>
+ Find me in <%= @path %>
+ </p>
+<%% end %>