Skip to content

Instantly share code, notes, and snippets.

@ma11hew28
Created August 15, 2008 22:14
Show Gist options
  • Save ma11hew28/5669 to your computer and use it in GitHub Desktop.
Save ma11hew28/5669 to your computer and use it in GitHub Desktop.
This is the default sproutcore body.rhtml file translated from erb to haml.
- content_for('body') do
.sc-welcome
%img{:class => "logo", :src => static_url('images/sproutcore-logo')}
.message
%h1 Welcome!
%h3 You are now running SproutCore.
.sticky-note
%p Things to do:
%ul
%li<
Add a model:
%br>
sc-gen model contacts/my_model
%li<
Add a controller:
%br>
sc-gen controller contacts/my_controller
%li Edit english.lproj/body.rhtml
%li<
Build for deployment:
%br>
sc-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment