Sha256: 1b4eb215695c39573fe6026b7c7981dc5fe94ed2ee94719aa091175ad47f7dbf
Contents?: true
Size: 814 Bytes
Versions: 1
Compression:
Stored size: 814 Bytes
Contents
.span12 h1 Posts .row .span3.new-link = link_to 'New Post', crowdblog.new_admin_post_path, :class => "btn btn-primary btn-small" .span3.offset6 ul.nav.nav-pills li class="#{@state ? '' : 'active'}" = link_to 'All', crowdblog.admin_posts_path li class="#{@state == 'published' ? 'active' : ''}" = link_to 'Published', crowdblog.admin_posts_by_state_path('published') li class="#{@state == 'drafted' ? 'active' : ''}" = link_to 'Drafted', crowdblog.admin_posts_by_state_path('drafted') #posts.container table.table.table-striped= render :partial => 'post', :collection => @posts - content_for :scripts do coffee: $ -> $('tr.post').each (index, el) -> new Crowdblog.Views.PostView el: el
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crowdblog-0.2.0 | app/views/crowdblog/admin/posts/index.html.slim |