from mediagoblin import mg_globals
from mediagoblin.media_types.blog import forms as blog_forms
+from mediagoblin.messages import add_message, SUCCESS
#from mediagoblin.edit.lib import may_edit_media
from mediagoblin.decorators import (require_active_login, active_user_from_url,
get_media_entry_by_id, user_may_alter_collection,
request,
'mediagoblin/blog/blog_edit_create.html',
{'blog_form': blog_form,
+ 'user' : request.user,
'app_config': mg_globals.app_config})
+
@require_active_login
@user_may_alter_collection
@get_user_collection
{'blog': blog,
'form': blog_form})
-
-
-
+
+