old_contents: def badge(badge):
      from adhocracy.lib.templating import render_def
      return render_def('/badge/tiles.html', 'badge', badge=badge,
                        cached=True)
  
  
  def badges(badges):
      from adhocracy.lib.templating import render_def
      return render_def('/badge/tiles.html', 'badges', badges=badges,
                        cached=True)
  
  
  def badge_styles():
      '''
      Render a <style>-block with dyamic badge styles
      '''
      from adhocracy.lib.templating import render_def
      from adhocracy.model import Badge
      badges = Badge.all()
      r = render_def('/badge/tiles.html', 'badge_styles', badges=badges,
                        cached=True)
      print r
      return r
  
new_contents: def badge(badge):
      from adhocracy.lib.templating import render_def
      return render_def('/badge/tiles.html', 'badge', badge=badge,
                        cached=True)
  
  
  def badges(badges):
      from adhocracy.lib.templating import render_def
      return render_def('/badge/tiles.html', 'badges', badges=badges,
                        cached=True)
  
  
  def badge_styles():
      '''
      Render a <style>-block with dyamic badge styles
      '''
      from adhocracy.lib.templating import render_def
      from adhocracy.model import Badge
      badges = Badge.all()
      return render_def('/badge/tiles.html', 'badge_styles', badges=badges,
                        cached=True)
  
subject: Remove debug print statement