Skip to content

Instantly share code, notes, and snippets.

@twopoint718
Created August 31, 2012 19:54
Show Gist options
  • Select an option

  • Save twopoint718/3558130 to your computer and use it in GitHub Desktop.

Select an option

Save twopoint718/3558130 to your computer and use it in GitHub Desktop.
Opa CLogin example
function login_page() {
login = CLogin.make("", CLogin.default_config("test", function(_, _){some(true)}));
xml = CLogin.html(login);
Resource.page("Login page", page_template(xml))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment