hacken-in/hacken-in

View on GitHub
app/views/modules/categories/_calendar-selector.html.haml

Summary

Maintainability
Test Coverage
%table.table
  - categories.each do |c|
    %tr
      %td
        = render partial: 'modules/categories/indicator', locals: { category: c, submodule: 'small' }
      %td
        %label{for: "cat-#{c.id}"}
          = c.title
      %td
        %input{id: "cat-#{c.id}", type: 'checkbox', name: 'calendar_category', value: c.id }