Sha256: cc43e814ab214ec720cce975c54bda8c22a64874e83d90e6e12320668c93da00

Contents?: true

Size: 525 Bytes

Versions: 4

Compression:

Stored size: 525 Bytes

Contents

<html>
  <head>
    <title>MicroWiki #{@page}</title>
    <style>
      a.exists{ color: #00f; }
      a.nonexists{ color: #f00; }
    </style>
  </head>
    #{ link(R(self), :title => "&lt; Home") unless @page == "Home" }
  <body>
    <h1>#{@page}</h1>
    <?r if @text.empty? ?>
      #{ link(R(self, :edit, CGI.escape(@page)), :title => "Create #{@page}?") }
    <?r else ?>
    <div>
      #{ link(R(self, :edit, CGI.escape(@page)), :title => "Edit #{@page}") }
      #{@text}
    </div>
    <?r end ?>
  </body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ramaze-0.0.8 examples/whywiki/template/show.xhtml
ramaze-0.0.9 examples/whywiki/template/show.xhtml
ramaze-0.1.0 examples/whywiki/template/show.xhtml
ramaze-0.1.1 examples/whywiki/template/show.xhtml