Sha256: 8f8b267780644a2d10c8c648aa2fdd81f897312938706d9409dfa70cc242ae73

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

%ul#models
  -available_columns.keys.each do |model|
    %li
      =link_to model.name.underscore.humanize, "#columns_for_#{model.name}"
-available_columns.each do |model, attrs|
  %div(id="columns_for_#{model.name}")
    -attrs.each do |attr_name, shown|
      %li
        %label(for="#{model.name}#{attr_name}")= attr_name.to_s.humanize
        =check_box_tag("#{model.name}_#{attr_name}", "#{model.name}: #{attr_name.to_s.humanize}", shown)
%br
%button.button_button Ok

%button.button_button Cancel

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
report_ui-0.0.1.alpha lib/app/views/reports/_columns_editor.html.haml