-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit-note.hbs
More file actions
31 lines (31 loc) · 1.25 KB
/
Copy pathedit-note.hbs
File metadata and controls
31 lines (31 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{{#each errors}}
<div class="alert alert-danger alert-dismissible fade show" role="alert">
{{text}}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{{/each}}
<div class="background-main">
<div class="col-md-4 mx-auto py-4">
<div class="card">
<div class="card-header">
<h3>Editar Nota</h3>
</div>
<div class="card-body">
<form action="/notes/editarNota/{{note._id}}?_method=PUT" method="POST">
<input type="hidden" name="_method" value="PUT">
<div class="form-group">
<input type="text" name="title" class="form-control" value="{{note.title}}"/>
</div>
<div class="form-group">
<textarea name="description" class="form-control">{{note.description}}</textarea>
</div>
<div class="form-group">
<button class="btn btn-primary btn-block" type="submit"> Guardar Cambios </button>
</div>
</form>
</div>
</div>
</div>
</div>