<%= for {step, index} <- Enum.with_index(["Register", "Activate account", "Add site info", "Install snippet"]) do %> <%= if index < @current_step do %>
  1. <%= step %>
  2. <% end %> <%= if index == @current_step do %>
  3. <%= step %>
  4. <% end %> <%= if index > @current_step do %>
  5. <%= step %>

  6. <% end %> <% end %>