root/trunk/app/views/promotions/admin_add.ctp

Revision 315, 1.3 kB (checked in by aarkerio, 9 months ago)

rename views

Line 
1
2<div class="spaced">
3
4<?= $html->formTag('/admin/promotions/add/', 'post', array('enctype'=>'multipart/form-data') ); ?>
5
6<fieldset>
7<legend>Add promotion:</legend>
8<?= $html->fileTag('photoFile', array('size' => '60',"class"=>"input")); ?>
9<?= $html->tagErrorMsg('Photo/filename', 'A picture is required.'); ?>
10<br /><br />
11<?= $html->input('Photo/title', array('size' => '60',"class"=>"formas")); ?>
12&nbsp;&nbsp;&nbsp; <label>Title</label>
13<?= $html->tagErrorMsg('Photo/title', 'Title is required.'); ?>
14<br /><br />
15<?= $html->textarea('Photo/body', array('cols'=>'60', 'rows'=>'3',"class"=>"input")); ?>
16&nbsp;&nbsp;&nbsp; <label>Description</label>
17<br />
18<br />
19<label>Date and Time for the entry</label><br />
20<?
21
22 $tmp = $html->radio('Photo/postDateType', array('now' => 'Post now', 'oneDayLater' => 'Post one day after the last post', 'exifDate' => 'Use exif date', 'specificDate' => 'Post on a specific date. Please set the date below:'), '<br />');
23 
24 echo $tmp;
25 
26?><br />
27&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<? echo $html->dateTimeOptionTag('Photo/created', 'DMY', 24, null, null, null, false); ?>
28<br />
29<br />
30<? echo $html->input('Photo/Tags', array('size' => '60',"class"=>"input", "id"=>"tags")); ?>
31&nbsp;&nbsp;&nbsp; <label>Tags(Comma Separated)</label>
32<br />
33<br />
34<? echo $html->submit('Add', array("class"=>"b_formas")) ?>
35</fieldset>
36</form>
37</div>
Note: See TracBrowser for help on using the browser.