| 2768 |
mandeep.dh |
1 |
<!DOCTYPE html PUBLIC
|
|
|
2 |
"-//W3C//DTD XHTML 1.1 Transitional//EN"
|
|
|
3 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
4 |
|
|
|
5 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
6 |
<head>
|
|
|
7 |
<link type="text/css" href="../../jquery/jqueryui/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" />
|
|
|
8 |
<script type="text/javascript" src="../../jquery/jquery-1.4.2.js"></script>
|
|
|
9 |
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.core.js"></script>
|
|
|
10 |
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.widget.js"></script>
|
|
|
11 |
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.position.js"></script>
|
|
|
12 |
<script type="text/javascript" src="../../jquery/jqueryui/ui/jquery.ui.autocomplete.js"></script>
|
|
|
13 |
<script type="text/javascript" src="/content/jquery/validation/jquery.validate.js"></script>
|
|
|
14 |
<script>
|
|
|
15 |
$(document).ready(function() {
|
|
|
16 |
$("#f").validate({
|
|
|
17 |
rules: {
|
|
|
18 |
displayName: "required",
|
|
|
19 |
primeURL: "required",
|
|
|
20 |
searchQuery: "required"
|
|
|
21 |
}
|
|
|
22 |
});
|
|
|
23 |
});
|
|
|
24 |
|
|
|
25 |
</script>
|
|
|
26 |
<style>
|
|
|
27 |
|
|
|
28 |
* { font-family: Verdana; font-size: 96%; }
|
|
|
29 |
label { width: 10em; float: left; }
|
|
|
30 |
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
|
|
|
31 |
p { clear: both; }
|
|
|
32 |
.submit { margin-left: 12em; }
|
|
|
33 |
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
|
|
|
34 |
.textarea {width: 400px; height: 200px}
|
|
|
35 |
|
|
|
36 |
</style>
|
|
|
37 |
<title>Edit $action.getId()</title>
|
|
|
38 |
</head>
|
|
|
39 |
#set ( $brand = $action.getBrand() )
|
|
|
40 |
<body>
|
|
|
41 |
<div>
|
|
|
42 |
<form id="f" name="f" action="/content/brand/$action.getId()" method="post">
|
|
|
43 |
<label for="brandId">Brand ID: </label>
|
|
|
44 |
<span id="brandId" name="id"><strong><em>{$action.getId()}</em></strong></span>
|
|
|
45 |
<br/>
|
|
|
46 |
<label for="displayName">Display Name: </label>
|
|
|
47 |
<input id="displayName" name="displayName" value="$brand.getDisplayName()"/>
|
|
|
48 |
<br/>
|
|
|
49 |
<label for="description">Description: </label>
|
|
|
50 |
<textarea id="description" name="description" rows="5" cols="50">$brand.getDescription()</textarea>
|
|
|
51 |
<br/>
|
|
|
52 |
<label for="primeURL">Prime URL: </label>
|
|
|
53 |
<input id="primeURL" name="primeURL" value="$brand.getPrimeURL()" size="52"/>
|
|
|
54 |
<br/>
|
|
|
55 |
<label for="saholicURL">Saholic URL: </label>
|
|
|
56 |
<input id="saholicURL" name="saholicURL" value="$brand.getSaholicURL()" size="52"/>
|
|
|
57 |
<br/>
|
|
|
58 |
<label for="searchQuery">Search Query: </label>
|
|
|
59 |
<input id="searchQuery" name="searchQuery" size="52" value="$brand.getSearchQuery()"/>
|
|
|
60 |
<br/>
|
|
|
61 |
<label for="pageTitle">Page Title: </label>
|
|
|
62 |
<input id="pageTitle" name="pageTitle" value="$brand.getPageTitle()" size="52"/>
|
|
|
63 |
<br/>
|
|
|
64 |
<label for="metaDescription">MetaDescription: </label>
|
|
|
65 |
<textarea id="metaDescription" name="metaDescription" rows="3" cols="50">$brand.getMetaDescription()</textarea>
|
|
|
66 |
<br/>
|
|
|
67 |
<label for="metaKeywords">MetaKeywords: </label>
|
|
|
68 |
<input id="metaKeywords" name="metaKeywords" value="$brand.getMetaKeywords()" size="52"/>
|
|
|
69 |
<br/>
|
|
|
70 |
<p/>
|
|
|
71 |
<input type="hidden" name="_method" value="put"/>
|
|
|
72 |
<input type="button" id="cancelbutton" name="cancel" value="Cancel"/>
|
|
|
73 |
<input type="submit" name="create" value="Save"/>
|
|
|
74 |
</form>
|
|
|
75 |
</div>
|
|
|
76 |
</body>
|
|
|
77 |
</html>
|