volt-fields 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/fields/views/text/index.html +9 -9
- data/app/fields/views/textarea/index.html +9 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54a4fe0ca284a75128ec4a8663f0507c6ffab43b
|
4
|
+
data.tar.gz: 7ca9463183a5ac179af7b86fb12d3165e9d31af0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df68854a49ec877a1fe8af16d799ac131da8e77588618022df5e4a7af5741d81d11b6cafb2cfc3963794a29ffaaaa3f62bae9e3109f6faf853396c4f7da25420
|
7
|
+
data.tar.gz: ece778d47663baeeb44b7535b2e76ae15dd731036535483fb7b92d459e64fc1d69042b878b93db1abd38c6dd7c8bbae88a107fe94208f85b3c3a3ce5efadca7e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<:Body>
|
2
|
-
<div class="form-group {
|
3
|
-
{
|
4
|
-
<label class="control-label">{label}</label>
|
5
|
-
{
|
6
|
-
<input type="{@type}" value="{attrs.value}" e-focusout="blur" class="form-control" />
|
7
|
-
{
|
2
|
+
<div class="form-group {{ if errors }}has-error{{ elsif blurred }}has-success{{ end }} has-feedback">
|
3
|
+
{{ if label }}
|
4
|
+
<label class="control-label">{{ label }}</label>
|
5
|
+
{{ end }}
|
6
|
+
<input type="{{ @type }}" value="{{ attrs.value }}" e-focusout="blur" class="form-control" />
|
7
|
+
{{ if errors }}
|
8
8
|
<span class="glyphicon glyphicon-remove form-control-feedback"></span>
|
9
|
-
<span class="control-label errors">{errors.or([]).join(', ')}</span>
|
10
|
-
{
|
9
|
+
<span class="control-label errors">{{ errors.or([]).join(', ') }}</span>
|
10
|
+
{{ elsif blurred }}
|
11
11
|
<span class="glyphicon glyphicon-ok form-control-feedback"></span>
|
12
|
-
{
|
12
|
+
{{ end }}
|
13
13
|
</div>
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<:Body>
|
2
|
-
<p class="form-group {
|
3
|
-
{
|
4
|
-
<label class="control-label">{label}</label>
|
5
|
-
{
|
6
|
-
<textarea e-focusout="blur" class="form-control">{attrs.value}</textarea>
|
7
|
-
{
|
2
|
+
<p class="form-group {{ if errors }}has-error{{ elsif blurred }}has-success{{ end }} has-feedback">
|
3
|
+
{{ if label }}
|
4
|
+
<label class="control-label">{{ label }}</label>
|
5
|
+
{{ end }}
|
6
|
+
<textarea e-focusout="blur" class="form-control">{{ attrs.value }}</textarea>
|
7
|
+
{{ if errors }}
|
8
8
|
<span class="glyphicon glyphicon-remove form-control-feedback"></span>
|
9
|
-
<span class="control-label errors">{errors.or([]).join(', ')}</span>
|
10
|
-
{
|
9
|
+
<span class="control-label errors">{{ errors.or([]).join(', ') }}</span>
|
10
|
+
{{ elsif blurred }}
|
11
11
|
<span class="glyphicon glyphicon-ok form-control-feedback"></span>
|
12
|
-
{
|
12
|
+
{{ end }}
|
13
13
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: volt-fields
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Stout
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: volt
|