:pray: Updating ERB snippets

Adding link_to snippet

Updating if snippet

When an if is used an end should also be used.

Also, indented the content of the conditional two spaces.