Sha256: 6cc0e772a7a3d596dfa93da7e20e18f08fbc7bb13710f3e73682d50c5f8cbc88

Contents?: true

Size: 893 Bytes

Versions: 2

Compression:

Stored size: 893 Bytes

Contents

%h1= t('.title')

%table.table.table-striped
  %thead
    %th= EgovUtils::RegistrationRequest.human_attribute_name('fullname')
    %th= EgovUtils::RegistrationRequest.human_attribute_name('created_at')
    %th= EgovUtils::RegistrationRequest.human_attribute_name('status')
    %th= t('label_actions')
  %tbody
    - if @registration_requests.empty?
      %tr
        %td{colspan: 4}= t('label_no_entries')
    - @registration_requests.each do |request|
      %tr
        %td
          %div= request.fullname
          %small= request.mail
        %td= l(request.created_at)
        %td= t("registration_request.statuses.#{request.status}")
        %td
          = link_to t('.show'), egov_utils.registration_request_path(request), class: 'btn btn-secondary btn-sm'

.row
  .col-md-4
    = page_entries_info @registration_requests
  .col-md-4
    = paginate @registration_requests
  .col-md-4

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
egov_utils-1.2.1 app/views/egov_utils/registration_requests/index.html.haml
egov_utils-1.2.0 app/views/egov_utils/registration_requests/index.html.haml