Skip to content

Commit 9f06ec4

Browse files
committed
Message for when there are no todos.
1 parent a9b9dfe commit 9f06ec4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

resources/views/partials/todos/index.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<div ng-controller="TodoController" ng-init="find()">
2+
<p ng-if="!todos.length">
3+
There are no todos right now, <a href="/todos/create">create one!</a>
4+
</p>
5+
26
<div class="row" ng-repeat="todo in todos">
37
<div class="col-lg-6">
48
<div class="input-group">

0 commit comments

Comments
 (0)