This repository has been archived on 2025-12-28. You can view files and clone it, but cannot push or open issues or pull requests.
inkletblot-forum-com-v1/views/create_category.html

17 lines
1.2 KiB
HTML

<article ng-controller="createCategoryCtrlr" ng-init="start()">
<section ng-show="!(error.userLevel.show)" class="item center border">
<h3>{{titles.form}}</h3>
<form id="categoryForm" name="categoryForm" ng-submit="createCategory()">
<label for="catName">Name: </label> <br />
<input type="text" name="catName" ng-model="category.catName" placeholder="A name for the category" required /> <br />
<label for="catDescr">Description: </label> <br />
<textarea name="catDescr" ng-model="category.catDescr" placeholder="A description for the category" required ></textarea> <br />
<input type="submit" value="Add Category" ng-model="category.submit" />
</form>
<p class="status" ng-show="status.show">{{status.text}}</p>
</section>
<section ng-show="error.userLevel.show" class="item center border" style="width: 30%;">
<p ng-show="error.userName.show">{{error.loggedIn.text1}} <span class="link" ng-click="setLogin()">{{error.loggedIn.link1}}</span> {{error.loggedIn.text2}}</p>
<p ng-show="!(erro.userName.show)">{{error.userLevel.text1}}</p>
</section>
</article>