public
Description: A Haml Scaffolding Generator for RSpec
Homepage: http://blog.citrusbyte.com/2008/3/11/what-s-that-rspec-haml-scaffolds-yes-it-is
Clone URL: git://github.com/dfischer/rspec-haml-scaffold-generator.git
Search Repo:
Corrected headers and field label errors on views.
flurb (author)
Fri Mar 14 19:01:05 -0700 2008
commit  5b10c9d46af38c42a69aa731cbfade4be2d1da13
tree    eeb825a9b6d25c49331a5e67f9f3bcfbfff556bf
parent  4074d5769b6cd01c892346c1c31647957fc4cec2
...
5
6
7
8
 
9
10
11
...
5
6
7
 
8
9
10
11
0
@@ -5,7 +5,7 @@
0
 - form_for(<%= form_link_for(table_name, singular_name) %>) do |f|
0
 <% for attribute in attributes -%>
0
   %p
0
- %b= <%= attribute.column.human_name %>
0
+ %b <%= attribute.column.human_name %>
0
     = f.<%= attribute.field_type %> :<%= attribute.name %>
0
 <% end %>
0
   %p= f.submit "Update"
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 %table
0
   %tr
0
 <% for attribute in attributes -%>
0
- %th= <%=attribute.column.human_name%>
0
+ %th <%=attribute.column.human_name%>
0
 <% end -%>
0
 
0
 - for <%= singular_name %> in @<%= plural_name %>
...
5
6
7
8
 
9
10
11
...
5
6
7
 
8
9
10
11
0
@@ -5,7 +5,7 @@
0
 - form_for(<%= form_link_for(table_name, singular_name) %>) do |f|
0
 <% for attribute in attributes -%>
0
   %p
0
- %b= attribute.column.human_name
0
+ %b <%= attribute.column.human_name %>
0
     %br
0
     = f.<%= attribute.field_type %> :<%= attribute.name %>
0
 <% end %>
...
1
2
3
 
4
5
6
...
1
2
 
3
4
5
6
0
@@ -1,6 +1,6 @@
0
 <% for attribute in attributes -%>
0
 %p
0
- %b= attribute.column.human_name %>:
0
+ %b <%= attribute.column.human_name %>:
0
   =h @<%= singular_name %>.<%= attribute.name %>
0
 
0
 <% end -%>

Comments

    No one has commented yet.