From dc4ace8ba7989c827b0d8c4f92f0e5256d695796 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 23 May 2016 15:01:17 -0400 Subject: simplify state buttons --- src/views/admin-page.ecr | 95 +++++------------------------------------------- 1 file changed, 10 insertions(+), 85 deletions(-) (limited to 'src/views') diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index f1b8b01..a77ddf6 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -528,37 +528,12 @@ State -
- - - Draft - - - - - Published - - - - - Deleted - -
+
<%= + state_buttons + %>

- Visibility state of this page. + Visibility of this blog post.

@@ -724,34 +699,9 @@ State -
- - - Draft - - - - - Published - - - - - Deleted - -
+
<%= + state_buttons + %>

Visibility state of this page. @@ -911,34 +861,9 @@ State -

- - - Draft - - - - - Published - - - - - Deleted - -
+
<%= + state_buttons + %>

Visibility state of this project. -- cgit v1.2.3