prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Choose template: Small issues
  There are some small wording issues when you choose a template to create a project in the dashboard. See comments in screenshot.
  
  ![unknown-18](https://cloud.githubusercontent.com/assets/15341015/18997556/467cc690-8735-11e6-9764-b150f0865098.png)
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `euth/dashboard/templatetags/dashboard_templatetags.py`
  Content:
  ```
  1 from django import template
  2 
  3 register = template.Library()
  4 
  5 
  6 @register.simple_tag
  7 def selected(request, pattern):
  8     path = request.path
  9     if path == pattern:
  10         return 'selected'
  11     return ''
  12
  ```
  
  Path: `euth/dashboard/urls.py`
  Content:
  ```
  1 from django.conf.urls import url
  2 
  3 from . import views
  4 
  5 urlpatterns = [
  6     url(
  7         r'^$',
  8         views.dashboard,
  9         name='dashboard'),
  10     url(
  11         r'^profile$',
  12         views.DashboardProfileView.as_view(),
  13         name='dashboard-profile'),
  14     url(
  15         r'^email/$',
  16         views.DashboardEmailView.as_view(),
  17         name='dashboard-email'
  18     ),
  19     url(
  20         r'^connections/$',
  21         views.DashboardAccountView.as_view(),
  22         name='dashboard-connections'
  23     ),
  24     url(
  25         r'^(?P<organisation_slug>[-\w_]+)/$',
  26         views.DashboardOrganisationUpdateView.as_view(),
  27         name='dashboard-organisation-edit'
  28     ),
  29     url(
  30         r'^(?P<organisation_slug>[-\w_]+)/projects/$',
  31         views.DashboardProjectListView.as_view(),
  32         name='dashboard-project-list'),
  33     url(r'^(?P<organisation_slug>[-\w_]+)/blueprints/$',
  34         views.DashboardBlueprintListView.as_view(),
  35         name='dashboard-blueprint-list'),
  36     url(r'^(?P<organisation_slug>[-\w_]+)/blueprints/'
  37         r'(?P<blueprint_slug>[-\w_]+)/$',
  38         views.DashboardProjectCreateView.as_view(),
  39         name='dashboard-project-create'),
  40     url(
  41         r'^(?P<organisation_slug>[-\w_]+)/projects/(?P<slug>[-\w_]+)/$',
  42         views.DashboardProjectUpdateView.as_view(),
  43         name='dashboard-project-edit'
  44     ),
  45     url(
  46         r'^(?P<organisation_slug>[-\w_]+)/projects/(?P<slug>[-\w_]+)/users$',
  47         views.DashboardProjectUserView.as_view(),
  48         name='dashboard-project-users'
  49     ),
  50     url(
  51         r'^(?P<organisation_slug>[-\w_]+)/projects/'
  52         r'(?P<slug>[-\w_]+)/users/invite$',
  53         views.DashboardProjectInviteView.as_view(),
  54         name='dashboard-project-invite'
  55     ),
  56 ]
  57
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/euth/dashboard/templatetags/dashboard_templatetags.py b/euth/dashboard/templatetags/dashboard_templatetags.py
  deleted file mode 100644
  --- a/euth/dashboard/templatetags/dashboard_templatetags.py
  +++ /dev/null
  @@ -1,11 +0,0 @@
  -from django import template
  -
  -register = template.Library()
  -
  -
  -@register.simple_tag
  -def selected(request, pattern):
  -    path = request.path
  -    if path == pattern:
  -        return 'selected'
  -    return ''
  diff --git a/euth/dashboard/urls.py b/euth/dashboard/urls.py
  --- a/euth/dashboard/urls.py
  +++ b/euth/dashboard/urls.py
  @@ -10,47 +10,57 @@
       url(
           r'^profile$',
           views.DashboardProfileView.as_view(),
  +        {'dashboard_menu_item': 'profile'},
           name='dashboard-profile'),
       url(
           r'^email/$',
           views.DashboardEmailView.as_view(),
  +        {'dashboard_menu_item': 'email'},
           name='dashboard-email'
       ),
       url(
           r'^connections/$',
           views.DashboardAccountView.as_view(),
  +        {'dashboard_menu_item': 'connections'},
           name='dashboard-connections'
       ),
       url(
           r'^(?P<organisation_slug>[-\w_]+)/$',
           views.DashboardOrganisationUpdateView.as_view(),
  +        {'dashboard_menu_item': 'organisation'},
           name='dashboard-organisation-edit'
       ),
       url(
           r'^(?P<organisation_slug>[-\w_]+)/projects/$',
           views.DashboardProjectListView.as_view(),
  +        {'dashboard_menu_item': 'project'},
           name='dashboard-project-list'),
       url(r'^(?P<organisation_slug>[-\w_]+)/blueprints/$',
           views.DashboardBlueprintListView.as_view(),
  +        {'dashboard_menu_item': 'project'},
           name='dashboard-blueprint-list'),
       url(r'^(?P<organisation_slug>[-\w_]+)/blueprints/'
           r'(?P<blueprint_slug>[-\w_]+)/$',
           views.DashboardProjectCreateView.as_view(),
  +        {'dashboard_menu_item': 'project'},
           name='dashboard-project-create'),
       url(
           r'^(?P<organisation_slug>[-\w_]+)/projects/(?P<slug>[-\w_]+)/$',
           views.DashboardProjectUpdateView.as_view(),
  +        {'dashboard_menu_item': 'project'},
           name='dashboard-project-edit'
       ),
       url(
           r'^(?P<organisation_slug>[-\w_]+)/projects/(?P<slug>[-\w_]+)/users$',
           views.DashboardProjectUserView.as_view(),
  +        {'dashboard_menu_item': 'project'},
           name='dashboard-project-users'
       ),
       url(
           r'^(?P<organisation_slug>[-\w_]+)/projects/'
           r'(?P<slug>[-\w_]+)/users/invite$',
           views.DashboardProjectInviteView.as_view(),
  +        {'dashboard_menu_item': 'project'},
           name='dashboard-project-invite'
       ),
   ]
  
verification_info: {"golden_diff": "diff --git a/euth/dashboard/templatetags/dashboard_templatetags.py b/euth/dashboard/templatetags/dashboard_templatetags.py\ndeleted file mode 100644\n--- a/euth/dashboard/templatetags/dashboard_templatetags.py\n+++ /dev/null\n@@ -1,11 +0,0 @@\n-from django import template\n-\n-register = template.Library()\n-\n-\n-@register.simple_tag\n-def selected(request, pattern):\n-    path = request.path\n-    if path == pattern:\n-        return 'selected'\n-    return ''\ndiff --git a/euth/dashboard/urls.py b/euth/dashboard/urls.py\n--- a/euth/dashboard/urls.py\n+++ b/euth/dashboard/urls.py\n@@ -10,47 +10,57 @@\n     url(\n         r'^profile$',\n         views.DashboardProfileView.as_view(),\n+        {'dashboard_menu_item': 'profile'},\n         name='dashboard-profile'),\n     url(\n         r'^email/$',\n         views.DashboardEmailView.as_view(),\n+        {'dashboard_menu_item': 'email'},\n         name='dashboard-email'\n     ),\n     url(\n         r'^connections/$',\n         views.DashboardAccountView.as_view(),\n+        {'dashboard_menu_item': 'connections'},\n         name='dashboard-connections'\n     ),\n     url(\n         r'^(?P<organisation_slug>[-\\w_]+)/$',\n         views.DashboardOrganisationUpdateView.as_view(),\n+        {'dashboard_menu_item': 'organisation'},\n         name='dashboard-organisation-edit'\n     ),\n     url(\n         r'^(?P<organisation_slug>[-\\w_]+)/projects/$',\n         views.DashboardProjectListView.as_view(),\n+        {'dashboard_menu_item': 'project'},\n         name='dashboard-project-list'),\n     url(r'^(?P<organisation_slug>[-\\w_]+)/blueprints/$',\n         views.DashboardBlueprintListView.as_view(),\n+        {'dashboard_menu_item': 'project'},\n         name='dashboard-blueprint-list'),\n     url(r'^(?P<organisation_slug>[-\\w_]+)/blueprints/'\n         r'(?P<blueprint_slug>[-\\w_]+)/$',\n         views.DashboardProjectCreateView.as_view(),\n+        {'dashboard_menu_item': 'project'},\n         name='dashboard-project-create'),\n     url(\n         r'^(?P<organisation_slug>[-\\w_]+)/projects/(?P<slug>[-\\w_]+)/$',\n         views.DashboardProjectUpdateView.as_view(),\n+        {'dashboard_menu_item': 'project'},\n         name='dashboard-project-edit'\n     ),\n     url(\n         r'^(?P<organisation_slug>[-\\w_]+)/projects/(?P<slug>[-\\w_]+)/users$',\n         views.DashboardProjectUserView.as_view(),\n+        {'dashboard_menu_item': 'project'},\n         name='dashboard-project-users'\n     ),\n     url(\n         r'^(?P<organisation_slug>[-\\w_]+)/projects/'\n         r'(?P<slug>[-\\w_]+)/users/invite$',\n         views.DashboardProjectInviteView.as_view(),\n+        {'dashboard_menu_item': 'project'},\n         name='dashboard-project-invite'\n     ),\n ]\n", "issue": "Choose template: Small issues\nThere are some small wording issues when you choose a template to create a project in the dashboard. See comments in screenshot.\n\n![unknown-18](https://cloud.githubusercontent.com/assets/15341015/18997556/467cc690-8735-11e6-9764-b150f0865098.png)\n\n", "before_files": [{"content": "from django import template\n\nregister = template.Library()\n\n\n@register.simple_tag\ndef selected(request, pattern):\n    path = request.path\n    if path == pattern:\n        return 'selected'\n    return ''\n", "path": "euth/dashboard/templatetags/dashboard_templatetags.py"}, {"content": "from django.conf.urls import url\n\nfrom . import views\n\nurlpatterns = [\n    url(\n        r'^$',\n        views.dashboard,\n        name='dashboard'),\n    url(\n        r'^profile$',\n        views.DashboardProfileView.as_view(),\n        name='dashboard-profile'),\n    url(\n        r'^email/$',\n        views.DashboardEmailView.as_view(),\n        name='dashboard-email'\n    ),\n    url(\n        r'^connections/$',\n        views.DashboardAccountView.as_view(),\n        name='dashboard-connections'\n    ),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/$',\n        views.DashboardOrganisationUpdateView.as_view(),\n        name='dashboard-organisation-edit'\n    ),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/projects/$',\n        views.DashboardProjectListView.as_view(),\n        name='dashboard-project-list'),\n    url(r'^(?P<organisation_slug>[-\\w_]+)/blueprints/$',\n        views.DashboardBlueprintListView.as_view(),\n        name='dashboard-blueprint-list'),\n    url(r'^(?P<organisation_slug>[-\\w_]+)/blueprints/'\n        r'(?P<blueprint_slug>[-\\w_]+)/$',\n        views.DashboardProjectCreateView.as_view(),\n        name='dashboard-project-create'),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/projects/(?P<slug>[-\\w_]+)/$',\n        views.DashboardProjectUpdateView.as_view(),\n        name='dashboard-project-edit'\n    ),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/projects/(?P<slug>[-\\w_]+)/users$',\n        views.DashboardProjectUserView.as_view(),\n        name='dashboard-project-users'\n    ),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/projects/'\n        r'(?P<slug>[-\\w_]+)/users/invite$',\n        views.DashboardProjectInviteView.as_view(),\n        name='dashboard-project-invite'\n    ),\n]\n", "path": "euth/dashboard/urls.py"}], "after_files": [{"content": null, "path": "euth/dashboard/templatetags/dashboard_templatetags.py"}, {"content": "from django.conf.urls import url\n\nfrom . import views\n\nurlpatterns = [\n    url(\n        r'^$',\n        views.dashboard,\n        name='dashboard'),\n    url(\n        r'^profile$',\n        views.DashboardProfileView.as_view(),\n        {'dashboard_menu_item': 'profile'},\n        name='dashboard-profile'),\n    url(\n        r'^email/$',\n        views.DashboardEmailView.as_view(),\n        {'dashboard_menu_item': 'email'},\n        name='dashboard-email'\n    ),\n    url(\n        r'^connections/$',\n        views.DashboardAccountView.as_view(),\n        {'dashboard_menu_item': 'connections'},\n        name='dashboard-connections'\n    ),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/$',\n        views.DashboardOrganisationUpdateView.as_view(),\n        {'dashboard_menu_item': 'organisation'},\n        name='dashboard-organisation-edit'\n    ),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/projects/$',\n        views.DashboardProjectListView.as_view(),\n        {'dashboard_menu_item': 'project'},\n        name='dashboard-project-list'),\n    url(r'^(?P<organisation_slug>[-\\w_]+)/blueprints/$',\n        views.DashboardBlueprintListView.as_view(),\n        {'dashboard_menu_item': 'project'},\n        name='dashboard-blueprint-list'),\n    url(r'^(?P<organisation_slug>[-\\w_]+)/blueprints/'\n        r'(?P<blueprint_slug>[-\\w_]+)/$',\n        views.DashboardProjectCreateView.as_view(),\n        {'dashboard_menu_item': 'project'},\n        name='dashboard-project-create'),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/projects/(?P<slug>[-\\w_]+)/$',\n        views.DashboardProjectUpdateView.as_view(),\n        {'dashboard_menu_item': 'project'},\n        name='dashboard-project-edit'\n    ),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/projects/(?P<slug>[-\\w_]+)/users$',\n        views.DashboardProjectUserView.as_view(),\n        {'dashboard_menu_item': 'project'},\n        name='dashboard-project-users'\n    ),\n    url(\n        r'^(?P<organisation_slug>[-\\w_]+)/projects/'\n        r'(?P<slug>[-\\w_]+)/users/invite$',\n        views.DashboardProjectInviteView.as_view(),\n        {'dashboard_menu_item': 'project'},\n        name='dashboard-project-invite'\n    ),\n]\n", "path": "euth/dashboard/urls.py"}]}