crlf fix
This commit is contained in:
parent
d83c004fb9
commit
b65007868a
3 changed files with 50 additions and 50 deletions
|
@ -113,35 +113,35 @@ class Application_Form_EditHistory extends Zend_Form
|
|||
);
|
||||
|
||||
public function init() {
|
||||
|
||||
$history_id = new Zend_Form_Element_Hidden($this::ID_PREFIX.'id');
|
||||
$history_id->setValidators(array(
|
||||
new Zend_Validate_Int()
|
||||
));
|
||||
$history_id->setDecorators(array('ViewHelper'));
|
||||
|
||||
$history_id = new Zend_Form_Element_Hidden($this::ID_PREFIX.'id');
|
||||
$history_id->setValidators(array(
|
||||
new Zend_Validate_Int()
|
||||
));
|
||||
$history_id->setDecorators(array('ViewHelper'));
|
||||
$this->addElement($history_id);
|
||||
|
||||
$dynamic_attrs = new Zend_Form_SubForm();
|
||||
$this->addSubForm($dynamic_attrs, $this::ID_PREFIX.'template');
|
||||
|
||||
// Add the submit button
|
||||
$this->addElement('button', $this::ID_PREFIX.'save', array(
|
||||
'ignore' => true,
|
||||
'class' => 'btn '.$this::ID_PREFIX.'save',
|
||||
'label' => _('Save'),
|
||||
'decorators' => array(
|
||||
'ViewHelper'
|
||||
)
|
||||
));
|
||||
|
||||
// Add the cancel button
|
||||
$this->addElement('button', $this::ID_PREFIX.'cancel', array(
|
||||
'ignore' => true,
|
||||
'class' => 'btn '.$this::ID_PREFIX.'cancel',
|
||||
'label' => _('Cancel'),
|
||||
'decorators' => array(
|
||||
'ViewHelper'
|
||||
)
|
||||
$dynamic_attrs = new Zend_Form_SubForm();
|
||||
$this->addSubForm($dynamic_attrs, $this::ID_PREFIX.'template');
|
||||
|
||||
// Add the submit button
|
||||
$this->addElement('button', $this::ID_PREFIX.'save', array(
|
||||
'ignore' => true,
|
||||
'class' => 'btn '.$this::ID_PREFIX.'save',
|
||||
'label' => _('Save'),
|
||||
'decorators' => array(
|
||||
'ViewHelper'
|
||||
)
|
||||
));
|
||||
|
||||
// Add the cancel button
|
||||
$this->addElement('button', $this::ID_PREFIX.'cancel', array(
|
||||
'ignore' => true,
|
||||
'class' => 'btn '.$this::ID_PREFIX.'cancel',
|
||||
'label' => _('Cancel'),
|
||||
'decorators' => array(
|
||||
'ViewHelper'
|
||||
)
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue