Permalink
Browse files

feat(message): messages rendered in form-group

  • Loading branch information...
bas080
bas080 committed Jun 8, 2016
1 parent ef9b8d1 commit 2cb7214c312f91ab5c7fc20ac9ccbf2e07947eaa
@@ -1,7 +1,7 @@
<template>
<require from="./form-group.html"></require>
<require from="./../..//attributes"></require>
<form-group attribute.bind="attribute">
<form-group attribute.bind="attribute" message.bind="message">
<div class="btn-group">
<button repeat.for="action of attribute.actions"
class="btn btn-default"
@@ -1,7 +1,7 @@
<template>
<require from="./form-group.html"></require>
<require from="./../../attributes"></require>
<form-group attribute.bind="attribute">
<form-group attribute.bind="attribute" message.bind="message">
<div class="checkbox">
<label>
<input
@@ -1,7 +1,7 @@
<template>
<require from="./../..//attributes"></require>
<require from="./form-group.html"></require>
<form-group attribute.bind="attribute">
<form-group attribute.bind="attribute" message.bind="message">
<form-fields
attributes.bind="attribute.attributes"
repeat.for="model of models"
@@ -1,6 +1,6 @@
<template>
<require from="./form-group.html"></require>
<form-group attribute.bind="attribute">
<form-group attribute.bind="attribute" message.bind="message">
<input
attributes.bind="attribute.attributes"
type="file"
@@ -1,7 +1,7 @@
<template>
<require from="./../../attributes"></require>
<require from="./form-group.html"></require>
<form-group attribute.bind="attribute">
<form-group attribute.bind="attribute" message.bind="message">
<div class="radio" repeat.for="option of attribute.options">
<label>
<input
@@ -1,7 +1,7 @@
<template>
<require from="./../../attributes"></require>
<require from="./form-group.html"></require>
<form-group attribute.bind="attribute">
<form-group attribute.bind="attribute" message.bind="message">
<select
attributes.bind="attribute.attributes"
value.bind="value"
@@ -1,6 +1,6 @@
<template>
<require from="./form-group.html"></require>
<form-group attribute.bind="attribute">
<form-group attribute.bind="attribute" message.bind="message">
<input
attributes.bind="attribute.attributes"
class="pull-right btn btn-primary"
@@ -1,7 +1,7 @@
<template>
<require from="./form-group.html"></require>
<require from="./../../attributes"></require>
<form-group>
<form-group attribute.bind="attribute" message.bind="message">
<textarea
attributes.bind="attribute"
class="form-control"

0 comments on commit 2cb7214

Please sign in to comment.