prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  testing interactive event: remove + on call to action
  **URL:** https://meinberlin-dev.liqd.net/projekte/module/interaktive-veranstaltung-2/
  **user:** unregistered user
  **expected behaviour:** buttons should be same all over platform
  **behaviour:** there is a + on the button
  **important screensize:**
  **device & browser:** 
  **Comment/Question:** please take out the + before add question
  
  
  Screenshot?
  <img width="692" alt="Bildschirmfoto 2020-09-22 um 17 51 38" src="https://user-images.githubusercontent.com/35491681/93906276-494d9200-fcfc-11ea-9614-3a9359b5ec97.png">
  
  
  </issue>
  <code>
  [start of meinberlin/apps/projects/templatetags/meinberlin_project_tags.py]
  1 from django import template
  2 
  3 from adhocracy4.comments.models import Comment
  4 from meinberlin.apps.budgeting.models import Proposal as budget_proposal
  5 from meinberlin.apps.ideas.models import Idea
  6 from meinberlin.apps.kiezkasse.models import Proposal as kiezkasse_proposal
  7 from meinberlin.apps.mapideas.models import MapIdea
  8 from meinberlin.apps.polls.models import Vote
  9 from meinberlin.apps.projects import get_project_type
  10 
  11 register = template.Library()
  12 
  13 
  14 @register.filter
  15 def project_url(project):
  16     if (project.project_type == 'meinberlin_bplan.Bplan'
  17             or project.project_type ==
  18             'meinberlin_extprojects.ExternalProject'):
  19         return project.externalproject.url
  20     return project.get_absolute_url()
  21 
  22 
  23 @register.filter
  24 def project_type(project):
  25     return get_project_type(project)
  26 
  27 
  28 @register.filter
  29 def is_external(project):
  30     return (project.project_type == 'meinberlin_bplan.Bplan'
  31             or project.project_type ==
  32             'meinberlin_extprojects.ExternalProject')
  33 
  34 
  35 @register.filter
  36 def is_a4_project(project):
  37     return (project.project_type == 'a4projects.Project')
  38 
  39 
  40 @register.simple_tag
  41 def get_num_entries(module):
  42     """Count all user-generated items."""
  43     item_count = \
  44         Idea.objects.filter(module=module).count() \
  45         + MapIdea.objects.filter(module=module).count() \
  46         + budget_proposal.objects.filter(module=module).count() \
  47         + kiezkasse_proposal.objects.filter(module=module).count() \
  48         + Comment.objects.filter(idea__module=module).count() \
  49         + Comment.objects.filter(mapidea__module=module).count() \
  50         + Comment.objects.filter(budget_proposal__module=module).count() \
  51         + Comment.objects.filter(kiezkasse_proposal__module=module).count() \
  52         + Comment.objects.filter(topic__module=module).count() \
  53         + Comment.objects.filter(maptopic__module=module).count() \
  54         + Comment.objects.filter(paragraph__chapter__module=module).count() \
  55         + Comment.objects.filter(chapter__module=module).count() \
  56         + Comment.objects.filter(poll__module=module).count() \
  57         + Vote.objects.filter(choice__question__poll__module=module).count()
  58     return item_count
  59
  [end of meinberlin/apps/projects/templatetags/meinberlin_project_tags.py]
  [start of meinberlin/apps/livequestions/phases.py]
  1 from django.utils.translation import ugettext_lazy as _
  2 
  3 from adhocracy4 import phases
  4 
  5 from . import apps
  6 from . import models
  7 from . import views
  8 
  9 
  10 class IssuePhase(phases.PhaseContent):
  11     app = apps.Config.label
  12     phase = 'issue'
  13     view = views.LiveQuestionModuleDetail
  14 
  15     name = _('Issue phase')
  16     description = _('Add question.')
  17     module_name = _('Interactive Event')
  18     icon = 'lightbulb-o'
  19 
  20     features = {
  21         'crud': (models.LiveQuestion,),
  22         'like': (models.LiveQuestion,)
  23     }
  24 
  25 
  26 phases.content.register(IssuePhase())
  27
  [end of meinberlin/apps/livequestions/phases.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/meinberlin/apps/livequestions/phases.py b/meinberlin/apps/livequestions/phases.py
  --- a/meinberlin/apps/livequestions/phases.py
  +++ b/meinberlin/apps/livequestions/phases.py
  @@ -13,7 +13,7 @@
       view = views.LiveQuestionModuleDetail
   
       name = _('Issue phase')
  -    description = _('Add question.')
  +    description = _('Add questions and support.')
       module_name = _('Interactive Event')
       icon = 'lightbulb-o'
   
  diff --git a/meinberlin/apps/projects/templatetags/meinberlin_project_tags.py b/meinberlin/apps/projects/templatetags/meinberlin_project_tags.py
  --- a/meinberlin/apps/projects/templatetags/meinberlin_project_tags.py
  +++ b/meinberlin/apps/projects/templatetags/meinberlin_project_tags.py
  @@ -4,6 +4,8 @@
   from meinberlin.apps.budgeting.models import Proposal as budget_proposal
   from meinberlin.apps.ideas.models import Idea
   from meinberlin.apps.kiezkasse.models import Proposal as kiezkasse_proposal
  +from meinberlin.apps.likes.models import Like
  +from meinberlin.apps.livequestions.models import LiveQuestion
   from meinberlin.apps.mapideas.models import MapIdea
   from meinberlin.apps.polls.models import Vote
   from meinberlin.apps.projects import get_project_type
  @@ -54,5 +56,7 @@
           + Comment.objects.filter(paragraph__chapter__module=module).count() \
           + Comment.objects.filter(chapter__module=module).count() \
           + Comment.objects.filter(poll__module=module).count() \
  -        + Vote.objects.filter(choice__question__poll__module=module).count()
  +        + Vote.objects.filter(choice__question__poll__module=module).count() \
  +        + LiveQuestion.objects.filter(module=module).count() \
  +        + Like.objects.filter(question__module=module).count()
       return item_count
  
verification_info: {"golden_diff": "diff --git a/meinberlin/apps/livequestions/phases.py b/meinberlin/apps/livequestions/phases.py\n--- a/meinberlin/apps/livequestions/phases.py\n+++ b/meinberlin/apps/livequestions/phases.py\n@@ -13,7 +13,7 @@\n     view = views.LiveQuestionModuleDetail\n \n     name = _('Issue phase')\n-    description = _('Add question.')\n+    description = _('Add questions and support.')\n     module_name = _('Interactive Event')\n     icon = 'lightbulb-o'\n \ndiff --git a/meinberlin/apps/projects/templatetags/meinberlin_project_tags.py b/meinberlin/apps/projects/templatetags/meinberlin_project_tags.py\n--- a/meinberlin/apps/projects/templatetags/meinberlin_project_tags.py\n+++ b/meinberlin/apps/projects/templatetags/meinberlin_project_tags.py\n@@ -4,6 +4,8 @@\n from meinberlin.apps.budgeting.models import Proposal as budget_proposal\n from meinberlin.apps.ideas.models import Idea\n from meinberlin.apps.kiezkasse.models import Proposal as kiezkasse_proposal\n+from meinberlin.apps.likes.models import Like\n+from meinberlin.apps.livequestions.models import LiveQuestion\n from meinberlin.apps.mapideas.models import MapIdea\n from meinberlin.apps.polls.models import Vote\n from meinberlin.apps.projects import get_project_type\n@@ -54,5 +56,7 @@\n         + Comment.objects.filter(paragraph__chapter__module=module).count() \\\n         + Comment.objects.filter(chapter__module=module).count() \\\n         + Comment.objects.filter(poll__module=module).count() \\\n-        + Vote.objects.filter(choice__question__poll__module=module).count()\n+        + Vote.objects.filter(choice__question__poll__module=module).count() \\\n+        + LiveQuestion.objects.filter(module=module).count() \\\n+        + Like.objects.filter(question__module=module).count()\n     return item_count\n", "issue": "testing interactive event: remove + on call to action\n**URL:** https://meinberlin-dev.liqd.net/projekte/module/interaktive-veranstaltung-2/\r\n**user:** unregistered user\r\n**expected behaviour:** buttons should be same all over platform\r\n**behaviour:** there is a + on the button\r\n**important screensize:**\r\n**device & browser:** \r\n**Comment/Question:** please take out the + before add question\r\n\r\n\r\nScreenshot?\r\n<img width=\"692\" alt=\"Bildschirmfoto 2020-09-22 um 17 51 38\" src=\"https://user-images.githubusercontent.com/35491681/93906276-494d9200-fcfc-11ea-9614-3a9359b5ec97.png\">\r\n\n", "before_files": [{"content": "from django import template\n\nfrom adhocracy4.comments.models import Comment\nfrom meinberlin.apps.budgeting.models import Proposal as budget_proposal\nfrom meinberlin.apps.ideas.models import Idea\nfrom meinberlin.apps.kiezkasse.models import Proposal as kiezkasse_proposal\nfrom meinberlin.apps.mapideas.models import MapIdea\nfrom meinberlin.apps.polls.models import Vote\nfrom meinberlin.apps.projects import get_project_type\n\nregister = template.Library()\n\n\n@register.filter\ndef project_url(project):\n    if (project.project_type == 'meinberlin_bplan.Bplan'\n            or project.project_type ==\n            'meinberlin_extprojects.ExternalProject'):\n        return project.externalproject.url\n    return project.get_absolute_url()\n\n\n@register.filter\ndef project_type(project):\n    return get_project_type(project)\n\n\n@register.filter\ndef is_external(project):\n    return (project.project_type == 'meinberlin_bplan.Bplan'\n            or project.project_type ==\n            'meinberlin_extprojects.ExternalProject')\n\n\n@register.filter\ndef is_a4_project(project):\n    return (project.project_type == 'a4projects.Project')\n\n\n@register.simple_tag\ndef get_num_entries(module):\n    \"\"\"Count all user-generated items.\"\"\"\n    item_count = \\\n        Idea.objects.filter(module=module).count() \\\n        + MapIdea.objects.filter(module=module).count() \\\n        + budget_proposal.objects.filter(module=module).count() \\\n        + kiezkasse_proposal.objects.filter(module=module).count() \\\n        + Comment.objects.filter(idea__module=module).count() \\\n        + Comment.objects.filter(mapidea__module=module).count() \\\n        + Comment.objects.filter(budget_proposal__module=module).count() \\\n        + Comment.objects.filter(kiezkasse_proposal__module=module).count() \\\n        + Comment.objects.filter(topic__module=module).count() \\\n        + Comment.objects.filter(maptopic__module=module).count() \\\n        + Comment.objects.filter(paragraph__chapter__module=module).count() \\\n        + Comment.objects.filter(chapter__module=module).count() \\\n        + Comment.objects.filter(poll__module=module).count() \\\n        + Vote.objects.filter(choice__question__poll__module=module).count()\n    return item_count\n", "path": "meinberlin/apps/projects/templatetags/meinberlin_project_tags.py"}, {"content": "from django.utils.translation import ugettext_lazy as _\n\nfrom adhocracy4 import phases\n\nfrom . import apps\nfrom . import models\nfrom . import views\n\n\nclass IssuePhase(phases.PhaseContent):\n    app = apps.Config.label\n    phase = 'issue'\n    view = views.LiveQuestionModuleDetail\n\n    name = _('Issue phase')\n    description = _('Add question.')\n    module_name = _('Interactive Event')\n    icon = 'lightbulb-o'\n\n    features = {\n        'crud': (models.LiveQuestion,),\n        'like': (models.LiveQuestion,)\n    }\n\n\nphases.content.register(IssuePhase())\n", "path": "meinberlin/apps/livequestions/phases.py"}]}