剥离 .btn 样式

This commit is contained in:
fen
2014-01-07 23:53:05 +08:00
parent 2f1624b71b
commit 851eb6b57d
12 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ class Widget_Contents_Attachment_Edit extends Widget_Contents_Post_Edit implemen
/** 提交按钮 */
$submit = new Typecho_Widget_Helper_Form_Element_Submit(NULL, NULL, _t('提交修改'));
$submit->input->setAttribute('class', 'primary');
$submit->input->setAttribute('class', 'btn primary');
$delete = new Typecho_Widget_Helper_Layout('a', array('href' =>
Typecho_Common::url('/action/contents-attachment-edit?do=delete&cid=' . $this->cid, $this->options->index),
'class' => 'operate-delete',