Sha256: b89ca62779e5efecd94ec2ca98a5410f35cbc4b655a45cdd892b5ced5b1c74ac

Contents?: true

Size: 992 Bytes

Versions: 2

Compression:

Stored size: 992 Bytes

Contents

<%

block = view(:layout, :block).new

searchbar = view(:component, :searchbar).new(elements: @search_superusers,
            url: lato_core.superusers_path, filter: :username_cont,
            style: :rounded)

new_button = view(:component, :button).new(title: CORE_LANG['vocabolary']['new'],
             url: lato_core.new_superuser_path, size: :small)

actionbar = view(:layout, :actionbar).new(title: CORE_LANG['vocabolary']['users'],
            widgets: [
              {component: searchbar, align: :right},
              {component: new_button, align: :right}
              ])

index = view(:layout, :index).new(head: [CORE_LANG['vocabolary']['username'], CORE_LANG['vocabolary']['email']],
        elements: @superusers, attributes: ['username', 'email'], link: lato_core.superusers_path,
        show_link: false)

%>

<%=raw actionbar %>

<div class="content-row">
  <%=raw block.open %>


    <%=raw index %>

    <%= will_paginate @superusers %>

  <%=raw block.close %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lato_core-1.1.4 app/views/lato_core/back/superusers/index.html.erb
lato_core-1.1.3 app/views/lato_core/back/superusers/index.html.erb