logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

index.html.haml (691B)


  1. - content_for :page_title do
  2. = t('admin.instances.title')
  3. = form_tag admin_instances_url, method: 'GET', class: 'simple_form' do
  4. .fields-group
  5. - %i(domain_name).each do |key|
  6. .input.string.optional
  7. = text_field_tag key, params[key], class: 'string optional', placeholder: I18n.t("admin.instances.#{key}")
  8. .actions
  9. %button= t('admin.instances.search')
  10. = link_to t('admin.instances.reset'), admin_instances_path, class: 'button negative'
  11. .table-wrapper
  12. %table.table
  13. %thead
  14. %tr
  15. %th= t('admin.instances.domain_name')
  16. %th= t('admin.instances.account_count')
  17. %tbody
  18. = render @instances
  19. = paginate paginated_instances