Skip to content

Instantly share code, notes, and snippets.

@manuelbernhardt manuelbernhardt/view.html
Last active Dec 20, 2015

Embed
What would you like to do?
<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
You can’t perform that action at this time.