Sha256: 39090db39ed02d5fb4d8b49e5d4658c8dbc921e95e8fa5066549b26002189e2b
Contents?: true
Size: 805 Bytes
Versions: 4
Compression:
Stored size: 805 Bytes
Contents
-# coding: UTF-8 %form.problem{action: 'verify/problem/' + id, 'accept-charset' => 'UTF-8', id: "problem_#{id}", method: 'post'} %fieldset %legend Problem #{index} %p= question .row .twelve.columns %table %thead -if headings %tr -headings.each do |heading| %th= heading %tbody -grid.each_with_index do |row, i| %tr -row.each_with_index do |cell, j| %td - if Spirit::Render::Table.input? cell %input{name: "answer[#{i}][#{j}]", type: 'text'} - else = cell .row .two.columns.mobile-one %a.button.small.submit.radius{href: '#'} Submit
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
spirit-0.2 | views/table.haml |
spirit-0.1.0.pre.2 | views/table.haml |
spirit-0.1.0.pre.1 | views/table.haml |
spirit-0.1.0.pre | views/table.haml |