Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<div class="hero-unit">
<% if @quote %>
<p><%= @quote.content %></p>
<small><%= %></small>
<% else %>
<p>Nenhuma frase cadastrada.</p>
<% end %>
<%= link_to 'Cadastre uma frase', new_quote_path, class: 'btn btn-primary' %>
<%= link_to 'Ver todas as frases', quotes_path, class: 'btn' %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment