Skip to content

Instantly share code, notes, and snippets.

@xxx
Created July 26, 2009 20:33
Show Gist options
  • Save xxx/155911 to your computer and use it in GitHub Desktop.
Save xxx/155911 to your computer and use it in GitHub Desktop.
***** the layout:
!!! Strict
%html
%head
%body
= catch_content :for_layout
***** the template:
#header
= partial "static/not_logged_in_header"
= form_for(@user, :action => url(:users) ) do
= submit "Create user"
***** static/not_logged_in_header
%script{:type => 'application/processing', 'data-canvas_name' => 'login'}
= partial "logos/logo_#{rand(2) + 3}"
***** logos/logo_3.html.erb
int x_axis = 755;
***** logos/logo_4.html.erb
int y_axis = 100;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment