Sha256: b8233975e0023721ba5351339b716465f63621fddfea8b65743102e0ffb0fc17
Contents?: true
Size: 716 Bytes
Versions: 53
Compression:
Stored size: 716 Bytes
Contents
<:Title> Todos <:Body> <h1>Todos Example</h1> <div id="count">{{ completed }} of {{ _todos.size }}</div> <table id="todos-table" class="table"> {{ _todos.each_with_index do |todo, idx| }} <tr> <td>{{ idx+1 }}.</td> <td><input type="checkbox" checked="{{ todo._completed }}"></td> <td class="name {{ if todo._completed }}complete{{ end }}">{{todo._name}}</td> <td><button e-click="remove_todo(todo)">X</button></td> </tr> {{ end }} </table> <form e-submit="add_todo" role="form"> <div class="form-group"> <label>Todo</label> <input class="form-control" id="newtodo" type="text" value="{{ page._new_todo }}" /> </div> </form>
Version data entries
53 entries across 53 versions & 1 rubygems