- @pagetitle = "Architecture Configuration"
- @crumb_list = [@pagetitle]
- @layouttype = 'custom'
.grid_16.alpha.omega.box.box-shadow
  = render partial: 'webui/configuration/tabs'
  .grid_16.alpha
    %h3
      Architecture Availability
    %p
      Toggle the availability of architectures.
    = form_tag(bulk_update_availability_path, method: 'patch' ) do
      %table
        %tr
          %th Architecture
          %th Availability
        = fields_for :archs do |arch_fields|
          - @architectures.each do |arch|
            %tr
              %td
                = arch.name
              %td
                = arch_fields.check_box(arch.name, { checked: arch.available })
      %p
        = submit_tag 'Update'
