|
@@ -6,19 +6,19 @@
|
|
<div class="span12" id="main">
|
|
<div class="span12" id="main">
|
|
<p>Help make the game! Contribute words and make the game better.</p>
|
|
<p>Help make the game! Contribute words and make the game better.</p>
|
|
<form ng-submit="submit()">
|
|
<form ng-submit="submit()">
|
|
- <input type="text" ng-model="card.word" id="inputWord" placeholder="Word">
|
|
|
|
|
|
+ <input type="text" ng-model="card.word" id="inputWord" placeholder="Word" required>
|
|
<br>
|
|
<br>
|
|
- <input type="text" ng-model="card.taboos[0]" placeholder="Taboo Word">
|
|
|
|
|
|
+ <input type="text" ng-model="card.taboos[0]" placeholder="Taboo Word" required>
|
|
<br>
|
|
<br>
|
|
- <input type="text" ng-model="card.taboos[1]" placeholder="Taboo Word">
|
|
|
|
|
|
+ <input type="text" ng-model="card.taboos[1]" placeholder="Taboo Word" required>
|
|
<br>
|
|
<br>
|
|
- <input type="text" ng-model="card.taboos[2]" placeholder="Taboo Word">
|
|
|
|
|
|
+ <input type="text" ng-model="card.taboos[2]" placeholder="Taboo Word" required>
|
|
<br>
|
|
<br>
|
|
- <input type="text" ng-model="card.taboos[3]" placeholder="Taboo Word">
|
|
|
|
|
|
+ <input type="text" ng-model="card.taboos[3]" placeholder="Taboo Word" required>
|
|
<br>
|
|
<br>
|
|
- <input type="text" ng-model="card.taboos[4]" placeholder="Taboo Word">
|
|
|
|
|
|
+ <input type="text" ng-model="card.taboos[4]" placeholder="Taboo Word" required>
|
|
<hr>
|
|
<hr>
|
|
- <input class="btn btn-primary" type="submit" value="Submit">
|
|
|
|
|
|
+ <input ng-disabled="submitting" class="btn btn-primary" type="submit" value="{{submitting ? 'Submitting...' : 'Submit'}}">
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|