Sha256: 48629aa052b515f6ebf96cddf0fb6dffabcaa63b41a39d43e806641ef8065401
Contents?: true
Size: 846 Bytes
Versions: 1
Compression:
Stored size: 846 Bytes
Contents
%h1 Listing Data %div %a(href='/data/new') New %div %a(href='/chart') Chart %table.table %thead %tr %th ID %th Weight[kg] %th BodyFat[%] %th Measuring Time %th Created Time %th(colspan=2) Action %tbody - @data.each do |d| %tr %td= d.id %td= d.weight %td= d.bodyfat %td= d.date %td= d.created_at.strftime('%Y/%m/%d %H:%M') %td %a{href: "/data/#{d.id}/edit"} Edit %td %form.form-inline(method='post'){action: uri("/data/#{d.id}")} %input(name='_method' type='hidden' value='delete') .form-group %button(class='btn btn-default') %a(class='glyphicon glyphicon-minus-sign') %a(type='submit' onclick='return confirm("Delete data?")') Delete
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
weight-recorder-0.1.0 | lib/views/index.haml |