Sha256: 47d97287e5e70ea23cd2fd499d33c8af2d71ef861f391f5df0e74c3195bc7158

Contents?: true

Size: 906 Bytes

Versions: 6

Compression:

Stored size: 906 Bytes

Contents

#admin-school-campus-addresses
  = index_header do
    #new-admin-school-campus-address.d-none
    .pull-left
      = count_div '' do
        = t(:'address.singular')
    .pull-right
      = ajax_link_to_new t(:'address.add'), [:new, :admin, @school, @campus, :address], id: 'new-admin-school-campus-address-link', class: @campus.address.nil? ? "btn btn-primary" : 'btn btn-primary d-none'

  = index_body do
    = table_for 'admin-school-campus-addresses-index' do
        thead
          tr
            = th t(:'address.title')
            = th t(:'address.country')
            = th t(:'address.zipcode')
            = th t(:'address.state')
            = th t(:'address.city')
            = th t(:'address.address1')
            = th t(:'address.address2')
            = th_actions 2
        tbody
          = render partial: 'gaku/admin/campuses/addresses/address', locals: {address: @campus.address}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku-0.2.2 admin/app/views/gaku/admin/campuses/addresses/_addresses.html.slim
gaku_admin-0.2.2 app/views/gaku/admin/campuses/addresses/_addresses.html.slim
gaku-0.2.1 admin/app/views/gaku/admin/campuses/addresses/_addresses.html.slim
gaku_admin-0.2.1 app/views/gaku/admin/campuses/addresses/_addresses.html.slim
gaku-0.2.0 admin/app/views/gaku/admin/campuses/addresses/_addresses.html.slim
gaku_admin-0.2.0 app/views/gaku/admin/campuses/addresses/_addresses.html.slim