How do I put an IF statement in a templates file in Elixir Phoenix?

<%= if appointment.rut_paciente != 0 do %>

i.e. the do is missing