fatfreecrm/fat_free_crm

View on GitHub
app/views/admin/groups/index.html.haml

Summary

Maintainability
Test Coverage
= styles_for :group

.title_tools
  = link_to_inline(:create_group, new_admin_group_path, text: t(:create_group))

.title
  %span#create_group_title #{t :groups}
  = image_tag("loading.gif", size: :thumb, id: "loading", style: "display: none;")

.remote#create_group{ hidden }

%ul.list#groups
  - if @groups.any?
    = render partial: "group", collection: @groups
  - else
    = render "shared/empty"

#paginate= render "shared/paginate"