diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-05-23 15:01:17 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-05-23 15:01:17 -0400 |
commit | dc4ace8ba7989c827b0d8c4f92f0e5256d695796 (patch) | |
tree | e429048afac8a98210f8712abe999cee7c278d4b /src/views | |
parent | d54f952db59093b4a08bedae10258badbe915283 (diff) | |
download | guff-dc4ace8ba7989c827b0d8c4f92f0e5256d695796.tar.bz2 guff-dc4ace8ba7989c827b0d8c4f92f0e5256d695796.zip |
simplify state buttons
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/admin-page.ecr | 95 |
1 files changed, 10 insertions, 85 deletions
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 </label> - <div class='btn-group btn-group-justified'> - <a - href='#' - class='btn btn-primary post-state' - title='Mark this page as a draft.' - > - <i class='fa fa-wrench'></i> - Draft - </a> - - <a - href='#' - class='btn btn-default post-state' - title='Mark this page as published.' - > - <i class='fa fa-bullhorn'></i> - Published - </a> - - <a - href='#' - class='btn btn-default post-state' - title='Mark this page as deleted.' - > - <i class='fa fa-trash'></i> - Deleted - </a> - </div><!-- btn-group --> + <div class='btn-group btn-group-justified'><%= + state_buttons + %></div><!-- btn-group --> <p class='help-block'> - Visibility state of this page. + Visibility of this blog post. </p> </div><!-- col-md-6 --> </div><!-- row --> @@ -724,34 +699,9 @@ State </label> - <div class='btn-group btn-group-justified'> - <a - href='#' - class='btn btn-primary post-state' - title='Mark this page as a draft.' - > - <i class='fa fa-wrench'></i> - Draft - </a> - - <a - href='#' - class='btn btn-default post-state' - title='Mark this page as published.' - > - <i class='fa fa-bullhorn'></i> - Published - </a> - - <a - href='#' - class='btn btn-default post-state' - title='Mark this page as deleted.' - > - <i class='fa fa-trash'></i> - Deleted - </a> - </div><!-- btn-group --> + <div class='btn-group btn-group-justified'><%= + state_buttons + %></div><!-- btn-group --> <p class='help-block'> Visibility state of this page. @@ -911,34 +861,9 @@ State </label> - <div class='btn-group btn-group-justified'> - <a - href='#' - class='btn btn-primary post-state' - title='Mark this project as a draft.' - > - <i class='fa fa-wrench'></i> - Draft - </a> - - <a - href='#' - class='btn btn-default post-state' - title='Mark this project as published.' - > - <i class='fa fa-bullhorn'></i> - Published - </a> - - <a - href='#' - class='btn btn-default post-state' - title='Mark this project as deleted.' - > - <i class='fa fa-trash'></i> - Deleted - </a> - </div><!-- btn-group --> + <div class='btn-group btn-group-justified'><%= + state_buttons + %></div><!-- btn-group --> <p class='help-block'> Visibility state of this project. |