philomena/lib/philomena_web/templates/image/_hidden_toggle.html.slime

10 lines
361 B
Text
Raw Normal View History

= if present?(@conn.params["hidden"]) do
a href=@route.(Keyword.delete(@params, :hidden)) title="Hide Hidden Images"
i.fa.fa-eye-slash>
span.hide-mobile.hide-limited-desktop Hide Hidden
- else
a href=@route.(Keyword.put(@params, :hidden, "1")) title="Show Hidden Images"
i.fa.fa-eye-slash>
span.hide-mobile.hide-limited-desktop Show Hidden