Skip to content

Commit

Permalink
Style change on change status button to outline
Browse files Browse the repository at this point in the history
Co-authored-by: EusebioAjas <[email protected]>
Co-authored-by: Anxhe <[email protected]>
Co-authored-by: SpidySamurai <[email protected]>
  • Loading branch information
4 people committed Apr 29, 2021
1 parent 1f0ff26 commit 88c734b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/employees/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<td class="employee-<%= employee.id %>">
<%= link_to "#{ employee.state ? 'Enabled' : 'Disabled' }",
switch_state_employee_company_branch_employee_path(@company_branch, employee),
method: :patch, remote: :true, class: "btn btn-xs btn-#{ employee.state ? 'success' : 'warning' }" %>
method: :patch, remote: :true, class: "btn btn-xs btn-outline-#{ employee.state ? 'success' : 'warning' }" %>
</td>
<td><%= link_to 'Show', company_branch_employee_path(@company_branch, employee),
class: "btn btn-outline-secondary" %>
Expand Down

0 comments on commit 88c734b

Please sign in to comment.