%h1 New Data

%form.form-horizontal(method='post'){action: uri('/data')}

.control-group
  %label.control-label(for='weight') Weight[kg]
  .controls
    %input#weight.span3(name='weight' type='text'){value: @data.weight}
.control-group
  %label.control-label(for='bodyfat') Body Fat[%]
  .controls
    %input#bodyfat.span3(name='bodyfat' type='text'){value: @data.bodyfat}
.control-group
  %label.control-label(for='date') Measuring Time
  .controls
    %input#bodyfat.span3(name='date' type='text'){value: @data.date}
.control-group
  .controls
    %button(name='commit' type='submit') Create