Skip to content

Commit

Permalink
remove mobile verison until rspec no longer fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Ches-ctrl committed May 19, 2024
1 parent cb191ba commit 0cce15b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions app/views/jobs/_category_sidebar_section.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,3 @@
</div>
</ul>
</div>

<div class="dropdown d-lg-none me-2 mb-2">
<button class="btn btn-sm bg-main dropdown-toggle rounded-4 text-white" type="button" data-bs-toggle="dropdown" aria-expanded="false">
<i class="<%= icon %>"></i> <%= title || resource.titleize %>
</button>

<ul class="dropdown-menu p-0">
<% resources.each do |type, resource_name, resource_id, count, checked| %>
<label for="<%= resource_name %>" class="category-select-item-label d-flex align-items-center bg-white p-1">
<input class="category-select-item-<%= type %>" type="<%= type %>" name="<%= type == 'radio' ? resource : resource_name %>" id="<%= resource_id %>" <%= "checked " if checked %> data-action="change->select-by-job-type#combinedSearch" data-select-by-job-type-target="<%= resource.split('-').map.with_index { |word, index| index > 0 ? word.capitalize : word }.join('') %>">
<%= resource_name.titleize %>
</label>
<% end %>
</ul>
</div>

0 comments on commit 0cce15b

Please sign in to comment.