Sha256: 9bcfc7ddb8524ccce84a8eb5aa4f12caf46feb7b82f9e547cec0030d6ee651ca

Contents?: true

Size: 565 Bytes

Versions: 7

Compression:

Stored size: 565 Bytes

Contents

<?r if !@users.empty? ?>

<table>
    <thead>
        <tr>
            <th>Username</th>
            <th>Actions</th>
        </tr>
    </thead>
    <tbody>
        <?r @users.each do |user| ?>
        <tr>
            <td>#{Users.a(user.username, :edit, user.id)}</td>
            <td>#{Users.a('Delete', :delete, user.id)}</td>
        </tr>
        <?r end ?>
    </tbody>
</table>

#{if @users.respond_to?(:navigation) and @users.page_count > 1
  @users.navigation
end}

<?r else ?>

<p>No users were found.</p>

<?r end ?>

<p>#{Users.a('New User', :new)}</p>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ramaze-2023.01.06 examples/app/blog/view/users/index.xhtml
ramaze-2012.12.08 examples/app/blog/view/users/index.xhtml
ramaze-2012.12.08b examples/app/blog/view/users/index.xhtml
ramaze-2012.04.14 examples/app/blog/view/users/index.xhtml
ramaze-2012.03.07 examples/app/blog/view/users/index.xhtml
ramaze-2011.12.28 examples/app/blog/view/users/index.xhtml
ramaze-2011.10.23 examples/app/blog/view/users/index.xhtml