Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Correct the syntax. If you nest, then the first word of the nested block... #64

Merged
merged 2 commits into from

3 participants

@Nerian

Fixed some mistakes in the .slim template

@kuraga

@apotonick @Nerian
@6baa4a8 is right thing!
But not @d4428c6: there is another style in another files, i.e. haml template

@apotonick apotonick merged commit 7afb2ce into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 31, 2012
  1. @Nerian

    Correct the syntax. If you nest, then the first word of the nested bl…

    Nerian authored
    …ock will become a tag; 'Find...' was being parsed a <find>...</find>.
  2. @Nerian
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 4 deletions.
  1. +3 −4 lib/generators/templates/view.slim
View
7 lib/generators/templates/view.slim
@@ -1,4 +1,3 @@
-h1
- <%= class_name %>Widget#<%= @state %>
-p
- Find me in <%= @path %>
+= widget_div do
+ h1 <%= class_name %>Widget#<%= @state %>
+ p Find me in <%= @path %>
Something went wrong with that request. Please try again.