Skip to content

Instantly share code, notes, and snippets.

@uokesita
Created January 14, 2011 05:31
Show Gist options
  • Save uokesita/779218 to your computer and use it in GitHub Desktop.
Save uokesita/779218 to your computer and use it in GitHub Desktop.
%h1= "Construyendo este siito"
- @posts.each do |post|
.postShow
.sequence= "#" + post.secuencia.to_s
.title= link_to post.titulo, post
.date= l post.created_at, :format => :date
.admin
= link_to 'Editar', edit_post_path(post)
= link_to 'Borrar', post, :confirm => 'Estas seguro?', :method => :delete
.clear
%br.clear
= link_to 'Nuevo Post', new_post_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment