Is there a clean syntax to wrap link_to on html code based on condition? Because DRY, I don't want to repeat the same code.
I know there is link_to_if but it don't have the part else ((
<% if condition? %> <%= link_to bla_bla_path do %> <p>Some html here</p> <% end %> <% else %> <p>Some html here</p> <% end %>