Last active
December 20, 2015 08:09
-
-
Save manuelbernhardt/6098732 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<h3>Wines</h3> | |
<div> | |
<div control-group label="Language"> | |
<select id="languageCode" name="languageCode" ng-model="$parent.currentLang" ng-options="l.value as l.label for l in languages"></select> | |
</div> | |
<div control-group label="Title"> | |
<input type="text" id="title" name="title" ng-model="wine.translations[$parent.currentLang].title" required> | |
<span validation-error-for="required">Required</span> | |
</div> | |
<div control-group label="Description"> | |
<textarea id="description" name="description" class="field span6" rows="6" ng-model="wine.translations[$parent.currentLang].description"></textarea> | |
</div> | |
<div control-group label="Link"> | |
<input type="text" id="site" name="site" ng-model="wine.url" required> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment