This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/email/views/email/admin/add_edit_template.php
2016-08-31 15:03:40 +10:00

31 lines
874 B
PHP

<div class="span11">
<fieldset>
<legend>Update Template</legend>
<div class="row">
<?php echo Form::input('name',$o->name,array('label'=>'Name','class'=>'span3')); ?>
</div>
<div class="row">
<?php echo StaticList_YesNo::form('active',$o->active,FALSE,array('label'=>'Email Template Active','class'=>'span1')); ?>
</div>
<div class="row">
<?php echo Form::textarea('notes',$o->notes,array('label'=>'Notes','class'=>'span8')); ?>
</div>
<div class="row">
<?php echo Form::select('language_id',ORM::factory('Language')->list_select(TRUE),'',array('label'=>'Language','required')); ?>
</div>
</fieldset>
<div id="translate"></div>
<div class="row">
<div class="offset2">
<button type="submit" class="btn btn-primary">Save changes</button>
<button type="button" class="btn">Cancel</button>
</div>
</div>
</div> <! -- /span -->