瀏覽代碼

Moved Unpublish button to the right

Stephen Ficklin 4 年之前
父節點
當前提交
42f7931307
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tripal/includes/TripalEntityUIController.inc

+ 1 - 0
tripal/includes/TripalEntityUIController.inc

@@ -544,6 +544,7 @@ function tripal_entity_form($form, &$form_state, $term_id = '', $entity = NULL)
         '#value' => t('Unpublish'),
         '#value' => t('Unpublish'),
         '#name' => 'unpublish_data',
         '#name' => 'unpublish_data',
         '#weight' => 1002,
         '#weight' => 1002,
+        '#attributes' => ['style' => 'float: right'],
       ];
       ];
     }
     }
     // Put the delete button on the far-right so that it's harder
     // Put the delete button on the far-right so that it's harder