Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

_quote

View _quote.erb
1 2 3 4 5 6 7 8 9 10 11 12 13
<div class="hero-unit">
<% if @quote %>
<blockquote>
<p><%= @quote.content %></p>
<small><%= @quote.author %></small>
</blockquote>
<% else %>
<p>Nenhuma frase cadastrada.</p>
<% end %>
</div>
 
<%= 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
Something went wrong with that request. Please try again.