       block: @model
 
   update: (model)->
-    $("##{model.id}").replaceWith blockTemplate(block: model)
+    $("##{model.id}").replaceWith blockTemplate(block: model, user: @current_user)
     @$el = $("##{model.id}")
     @model = model
     @delegateEvents()

mediator = require '../../../lib/mediator.coffee'
ConnectView = require '../../connect/client/connect_view.coffee'
LightboxView = require '../../lightbox/client/lightbox_view.coffee'

blockTemplate = -> require('../templates/block.jade') arguments...



    @render() if @autoRender
    @$el = $("##{@model.id}")

    @current_user = new User sd.CURRENT_USER

    mediator.on "model:#{@model.id}:updated", @update, @
    mediator.on "connection:#{@model.id}:complete", @removeActiveClass, @
