It works !

<%= if @repo_started, do: "Repo started", else: "Repo not started" %> <%= unless @repo_started do %><% end %>