Subversion Repositories SmartDukaan

Rev

Rev 2768 | Rev 3081 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2768 Rev 2838
Line 34... Line 34...
34
.textarea {width: 400px; height: 200px}
34
.textarea {width: 400px; height: 200px}
35
 
35
 
36
</style>
36
</style>
37
<title>Edit $action.getId()</title>
37
<title>Edit $action.getId()</title>
38
</head>
38
</head>
39
#set ( $brand = $action.getBrand() )
39
#set ( $specialPage = $action.getSpecialPage() )
40
<body>
40
<body>
41
<div>
41
<div>
42
<form id="f" name="f" action="/content/brand/$action.getId()" method="post">
42
<form id="f" name="f" action="/content/special-page/$action.getId()" method="post">
43
    <label for="brandId">Brand ID: </label>
43
    <label for="specialPageId">SpecialPage ID: </label>
44
    <span id="brandId" name="id"><strong><em>{$action.getId()}</em></strong></span>
44
    <span id="specialPageId" name="id"><strong><em>{$action.getId()}</em></strong></span>
45
    <br/>
45
    <br/>
46
    <label for="displayName">Display Name: </label>
46
    <label for="displayName">Display Name: </label>
47
    <input id="displayName" name="displayName" value="$brand.getDisplayName()"/>
47
    <input id="displayName" name="displayName" value="$specialPage.getDisplayName()"/>
48
    <br/>
48
    <br/>
49
    <label for="description">Description: </label>
49
    <label for="description">Description: </label>
50
    <textarea id="description" name="description" rows="5" cols="50">$brand.getDescription()</textarea>
50
    <textarea id="description" name="description" rows="5" cols="50">$specialPage.getDescription()</textarea>
51
    <br/>
51
    <br/>
52
    <label for="primeURL">Prime URL: </label>
52
    <label for="primeURL">Prime URL: </label>
53
    <input id="primeURL" name="primeURL" value="$brand.getPrimeURL()" size="52"/>
53
    <input id="primeURL" name="primeURL" value="$specialPage.getPrimeURL()" size="52"/>
54
    <br/>
54
    <br/>
55
    <label for="saholicURL">Saholic URL: </label>
55
    <label for="saholicURL">Saholic URL: </label>
56
    <input id="saholicURL" name="saholicURL" value="$brand.getSaholicURL()" size="52"/>
56
    <input id="saholicURL" name="saholicURL" value="$specialPage.getSaholicURL()" size="52"/>
57
    <br/>
57
    <br/>
58
    <label for="searchQuery">Search Query: </label>
58
    <label for="searchQuery">Search Query: </label>
59
    <input id="searchQuery" name="searchQuery" size="52" value="$brand.getSearchQuery()"/>
59
    <input id="searchQuery" name="searchQuery" size="52" value="$specialPage.getSearchQuery()"/>
60
    <br/>
60
    <br/>
61
    <label for="pageTitle">Page Title: </label>
61
    <label for="pageTitle">Page Title: </label>
62
    <input id="pageTitle" name="pageTitle" value="$brand.getPageTitle()" size="52"/>
62
    <input id="pageTitle" name="pageTitle" value="$specialPage.getPageTitle()" size="52"/>
63
    <br/>
63
    <br/>
64
    <label for="metaDescription">MetaDescription: </label>
64
    <label for="metaDescription">MetaDescription: </label>
65
    <textarea id="metaDescription" name="metaDescription" rows="3" cols="50">$brand.getMetaDescription()</textarea>
65
    <textarea id="metaDescription" name="metaDescription" rows="3" cols="50">$specialPage.getMetaDescription()</textarea>
66
    <br/>
66
    <br/>
67
    <label for="metaKeywords">MetaKeywords: </label>
67
    <label for="metaKeywords">MetaKeywords: </label>
68
    <input id="metaKeywords" name="metaKeywords" value="$brand.getMetaKeywords()" size="52"/>
68
    <input id="metaKeywords" name="metaKeywords" value="$specialPage.getMetaKeywords()" size="52"/>
69
    <br/>
69
    <br/>
70
<p/>
70
<p/>
71
<input type="hidden" name="_method" value="put"/>
71
<input type="hidden" name="_method" value="put"/>
72
<input type="button" id="cancelbutton" name="cancel" value="Cancel"/>
72
<input type="button" id="cancelbutton" name="cancel" value="Cancel"/>
73
<input type="submit" name="create" value="Save"/>
73
<input type="submit" name="create" value="Save"/>