Skip to content
Myr

show.hbs

This file

Path

examples/mvc/controllers/user/views/show.hbs

31 lines · 601 bytes

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 2027b87 point at it.

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 1–31why, one step back
1<!DOCTYPE html>
2<html>3<head>4 <meta charset="utf-8">5 <meta name="viewport" content="width=device-width,initial-scale=1">6 <link rel="stylesheet" href="/style.css">7 <title>{{user.name}}</title>8</head>9<body>10<h1>{{user.name}} <a href="/user/{{user.id}}/edit">edit</a></h1>1112{{#if hasMessages}}13 <ul>14 {{#each messages}}15 <li>{{this}}</li>16 {{/each}}17 </ul>18{{/if}}1920{{#if user.pets.length}}21 <p>View {{user.name}}'s pets:</p>22 <ul>23 {{#each user.pets}}24 <li><a href="/pet/{{id}}">{{name}}</a></li>25 {{/each}}26 </ul>27{{else}}28 <p>No pets!</p>29{{/if}}30</body>31</html>