show.html 349 B

12345678910
  1. <div class="card">
  2. <h1><i class="{{note.icon}} icon left"></i>{{note.header}}</h1>
  3. <p>Created by: {{note.user.name || note.user.username}}</p>
  4. <a ng-href='#/notes/{{note.id}}/edit' ng-if='currentUser.id === note.UserId'>Edit Note</a>
  5. <h3>Description:</h3>
  6. <p>{{note.description}}</p>
  7. <h3>Contents:</h3>
  8. <p>{{note.content}}</p>
  9. </div>