mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 14:48:02 -05:00
lots of cleanup and refactoring
This commit is contained in:
@@ -7,7 +7,7 @@ from .models import *
|
||||
|
||||
|
||||
class RecipeTable(tables.Table):
|
||||
id = tables.LinkColumn('edit_recipe', args=[A('id')])
|
||||
id = tables.LinkColumn('view_recipe', args=[A('id')])
|
||||
name = tables.TemplateColumn(
|
||||
"<a href='#' onClick='openRecipe({{record.id}})'>{{record.name}}</a>")
|
||||
all_tags = tables.Column(
|
||||
|
||||
Reference in New Issue
Block a user