@tag = Tag.new(:id => 0, :name => "${name}")

div.tiddler(:id => "${element_id}", :style => "display: none") do
  form(:action => "") do
    out render :partial => "tag_toolbar", :locals => { :tag => @tag }
    
    div.title do
      span { "${name}" }
    end
    
    div.viewer do
      div do
        img :class => "loading", :src => "/images/spinner.gif", :alt => "..."
        span.loading { _("loading") }
      end
    end
  end
end
