Sha256: 08e377d7b799f811c272bc7927945b091877c060ca70d0cfb6dbdf4aa681fe5e

Contents?: true

Size: 963 Bytes

Versions: 1

Compression:

Stored size: 963 Bytes

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:persia="http://persia.rubyforge.org/specs">
<head>
  <title>Title</title>
</head>
<body>

<p style="color: green">flash</p>

<div persia:id="content_list">
<h1>Listing <%= plural_name %></h1>

<table>
  <tr>
    <th persia:id="header">Name</th>
  </tr>
  
  <tr persia:id="rows">
    <td>Mijn data</td>
    <td><a href="">Show</a></td>
    <td><a href="">Edit</a></td>
    <td>
      <a href="" onclick='if (confirm(&apos;Are you sure?&apos;)) { var f = document.createElement(&apos;form&apos;); this.parentNode.appendChild(f); f.method = &apos;POST&apos;; f.action = this.href; f.submit(); };return false;'>
        Destroy
      </a>
    </td>
  </tr>
</table>

<a persia:id="prev" href="">Previous page</a>
<a persia:id="next" href="">Next page</a>

<br />

<a persia:id="new" href="">New <%= singular_name %></a>

</div>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
persia_generator-0.1.0 templates/view_list.rhtml