Skip to content

Commit

Permalink
changed if to elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
MutazAshhab committed Dec 15, 2021
1 parent ab056f4 commit bfe5aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/policies/_policies_chooser.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%button.btn.btn-sm.btn-default.dropdown-toggle{type: "button", id: "dropdownMenu1", data: {toggle: "dropdown"}}
- if @sort == "name"
Sorted by Name
- if @sort == "date"
- elseif @sort == "date"
Sorted by Date Edited
- elsif @sort.nil?
Sorted by Subscribers
Expand Down

2 comments on commit bfe5aec

@mlandauer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Taz17 you didn't test this change, did you? :-)

@mlandauer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

elseif != elsif

Please sign in to comment.