Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
645: path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Boeira committed Dec 13, 2023
1 parent 153ebe3 commit 97c0b29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/new_admin/users/_punches.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<h3 class="mb-2 text-sm text-gray-600 dark:text-gray-400 font-semibold">
<%= t ('punches_filter.filter') %>
</h3>
<%= form_with url: new_admin_admin_user_path(@user, anchor: "user_punches"), method: :get do |form| %>
<%= form_with url: new_admin_show_user_path(@user, anchor: "user_punches"), method: :get do |form| %>
<h4 class="mb-2 text-xs font-semibold tracking-wide text-left text-gray-500 uppercase" >
<%= t ('punches_filter.range') %>
</h4>
Expand All @@ -107,7 +107,7 @@
<%= form.date_field :to, value: to, class: "bg-gray-100 font-semibold rounded-lg text-gray-600 text-sm dark:bg-slate-700 dark:text-gray-400" %>
</div>
<%= form.submit "#{t('punches_filter.to_filter')}", formmethod: :get, class: "px-4 py-2 mr-2 cursor-pointer font-semibold text-sm text-white transition-colors duration-150 rounded-lg bg-primary-600 hover:bg-primary-700" %>
<%= link_to "#{t('punches_filter.clean_filter')}", new_admin_admin_user_path(@user, anchor: "user_punches"), class: "px-4 py-2 cursor-pointer font-semibold text-sm text-white transition-colors duration-150 rounded-lg bg-slate-700 hover:bg-gray-600" %>
<%= link_to "#{t('punches_filter.clean_filter')}", new_admin_show_user_path(@user, anchor: "user_punches"), class: "px-4 py-2 cursor-pointer font-semibold text-sm text-white transition-colors duration-150 rounded-lg bg-slate-700 hover:bg-gray-600" %>
<% end %>
</div>
<div class="py-4">
Expand Down

0 comments on commit 97c0b29

Please sign in to comment.