Sha256: ebab44a1de6d3b7554b573b9e241dac66eab964d03fc2a10ac728ec9a085a57e

Contents?: true

Size: 492 Bytes

Versions: 4

Compression:

Stored size: 492 Bytes

Contents

%h1 Administrators

%p= link_to "Add Administrator", new_administrator_path

- if @administrators.blank?
  %p Currently there aren't any administrators in the system
- else
  %table
    %thead
      %tr
        %th Name
        %th Username
        %th Email
        %th Actions
    %tbody
      - for admin in @administrators do
        %tr
          %td= admin.full_name
          %td= admin.username
          %td= admin.email
          %td= link_to "Edit", edit_administrator_path(admin)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
brick_layer-0.10.6 app/views/brick_layer/administrators/index.html.haml
brick_layer-0.10.5 app/views/brick_layer/administrators/index.html.haml
brick_layer-0.10.3 app/views/brick_layer/administrators/index.html.haml
brick_layer-0.10.2 app/views/brick_layer/administrators/index.html.haml