Skip to content

Instantly share code, notes, and snippets.



Last active Dec 20, 2015
What would you like to do?
<div class="row">
<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 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 control-group label="Description">
<textarea id="description" name="description" class="field span6" rows="6" ng-model="wine.translations[$parent.currentLang].description"></textarea>
<div control-group label="Link">
<input type="text" id="site" name="site" ng-model="wine.url" required>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment