public
Created

coisa

  • Download Gist
home.erb
HTML+ERB
1 2 3 4 5 6 7 8 9 10 11
<div class="hero-unit">
<% if @quote %>
<blockquote>
<p><%= @quote.content %></p>
<small><%= @quote.author %></small>
</blockquote>
<% else %>
<p>Nenhuma frase cadastrada.</p>
<%= link_to 'Cadastre uma frase' %>
<% end %>
</div>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.