Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC 
    "-//W3C//DTD XHTML 1.1 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Create New</title>
<link type="text/css" href="../jquery/jqueryui/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../jquery/jquery-1.4.2.js"></script>
<script type="text/javascript" src="../jquery/jqueryui/ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../jquery/jqueryui/ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../jquery/jqueryui/ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="../jquery/jqueryui/ui/jquery.ui.autocomplete.js"></script>
<script type="text/javascript" src="../jquery/jquery.chained.js"></script>
<script type="text/javascript" src="/content/jquery/validation/jquery.validate.js"></script>
<script>
$(document).ready(function() {
        $("#f").validate({
                rules: {
                        name: "required",
                        content: "required",
                        terms: "required"
                        }
        });
});
</script>


<style>

* { font-family: Verdana; font-size: 96%; }
label { width: 10em; float: left; }
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
p { clear: both; }
.submit { margin-left: 12em; }
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
.textarea {width: 400px; height: 200px}
</style>
</head>
<body>
<div>
<h1>New Helpdoc</h1>
<form id="f" name="f" action="/content/helpdoc" method="post">
    <label for="helpdocId">Helpdoc ID: </label>
    <span id="helpdocId" name="helpdocId"><strong><em>{New Helpdoc ID}</em></strong></span>
    <br></br>
        <label for="name">Helpdoc Name: </label>
    <input id="name" name="name"/>
    <br></br>
        <label for="content">Helpdoc Content: </label>
        <!--<input type="text" id="content" name="content" class="textbox" value="" />-->
        
        <textarea row="30" column="200" class="textarea" id="content" name="content"></textarea>

    <br></br>
        <label for="terms">Terms: </label>
    <input id="terms" name="terms"/>
    <br></br>   
        <label for="helpdocIds">Related Helpdocs: </label>
    <input id="helpdocIds" name="helpdocIds"/>
    <br></br>   
<p></p>
<input type="button" id="cancelbutton" name="cancel" value="Cancel"/>
<input type="submit" name="create" value="Create"/>
</form>
</div>

</body>
</html>