public
Description: The source code for a tutorial of Ramaze
Homepage: http://blog.purepistos.net/index.php/2008/11/18/ramaze-by-example/
Clone URL: git://github.com/Pistos/ramaze-todolist-tutorial.git
ramaze-todolist-tutorial / view / index.xhtml
100644 13 lines (13 sloc) 0.229 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
<html>
  <head>
    <title>Todo List</title>
  </head>
  <body>
    <h1>Todo List</h1>
    <ul>
      <?r @tasks.each do |task| ?>
        <li>(#{task.status}) #{task.description}</li>
      <?r end ?>
    </ul>
  </body>
</html>