Small updates in admin/users index
This commit is contained in:
@@ -47,8 +47,8 @@
|
||||
<%#= f.search_field :lastname_cont, oninput: 'this.form.requestSubmit();' %>
|
||||
<%#= f.label :email_start, "E-Mail:" %>
|
||||
<%#= f.search_field :email_start, oninput: 'this.form.requestSubmit();' %>
|
||||
<%#= f.label :name_or_email_cont, "Name oder E-Mail:" %>
|
||||
<%= f.search_field :firstname_or_lastname_or_email_cont, oninput: 'this.form.requestSubmit();' %>
|
||||
<%#= f.label :firstname_or_lastname_or_email_cont, "Suchen:" %>
|
||||
<%= f.search_field :firstname_or_lastname_or_email_cont, placeholder: "Suchen", oninput: 'this.form.requestSubmit();' %>
|
||||
<%= f.label :created_at_dategteq, "Registriert von:" %>
|
||||
<%= f.date_field :created_at_dategteq, onchange: 'this.form.requestSubmit();' %>
|
||||
<%= f.label :created_at_datelteq, "bis:" %>
|
||||
@@ -64,7 +64,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<%= turbo_frame_tag "admin_users", data: { turbo_action: 'advance'} do %>
|
||||
<%== pagy_nav(@pagy) %>
|
||||
<div class="flex justify-between items-center">
|
||||
<%== pagy_nav(@pagy) %>
|
||||
<%== pagy_info(@pagy, item_name: "User") %>
|
||||
</div>
|
||||
<div class="min-w-full overflow-auto shadow-lg pt-2">
|
||||
<table class="w-full py-8 table-auto">
|
||||
<thead class="font-semibold tracking-wide bg-gray-200 border-b-2 border-gray-300 text text-hsrm-gray">
|
||||
@@ -83,6 +86,9 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<%== pagy_nav(@pagy) %>
|
||||
<div class="flex justify-between items-center">
|
||||
<%== pagy_nav(@pagy) %>
|
||||
<%== pagy_info(@pagy, item_name: "Users") %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user