Change edit url to a button for each blog post.
authorAditi <aditi.iitr@gmail.com>
Thu, 25 Jul 2013 07:51:35 +0000 (13:21 +0530)
committerAditi <aditi.iitr@gmail.com>
Thu, 25 Jul 2013 07:51:35 +0000 (13:21 +0530)
mediagoblin/templates/mediagoblin/blog/blog_admin_dashboard.html

index 4effaf01cc71c40a3ba9d4b0837aba8968b9e295..290b5944c228aff48f673fac7bfd8aa70984fa95 100644 (file)
@@ -46,7 +46,7 @@
             <td><a href="{{ blog_post.url_for_self(request.urlgen) }}">{{ blog_post.title }}</a></td>
             <td>{{ blog_post.created.strftime("%F %R") }}</td>
             <td></td>
-            <td><a href="{{request.urlgen('mediagoblin.media_types.blog.blogpost.edit', blog_slug=blog.slug, user=request.user.username, blog_post_slug=blog_post.slug) }}">Edit</a></td>
+            <td><a class="button_action" href="{{request.urlgen('mediagoblin.media_types.blog.blogpost.edit', blog_slug=blog.slug, user=request.user.username, blog_post_slug=blog_post.slug) }}">Edit</a></td>
         </tr>
         {% endfor %}
      </table>