Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <form submit.delegate="submit()">
- <div class="form-group">
- <label class="control-label" for="email">Email</label>
- <input type="text" class="form-control" id="email" placeholder="Email"
- value.bind="model[field] & validate:rules">
- </div>
- <button type="submit" class="btn btn-primary">Submit</button>
- </form>
- </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement