SimpleForm replacement with Forms, bug fixes

This commit is contained in:
Karol Orzeł 2015-11-18 13:25:53 +01:00
parent a95c13ac29
commit 9943cdc0d8
6 changed files with 25 additions and 15 deletions

View File

@ -1,3 +1,11 @@
# v1.3.0
## 11/18/2015
1. [](#new)
* SimpleForm replaced with Forms plugin
2. [](#bugfix)
* Admin plugin bugfixes
# v1.2.0
## 09/18/2015

View File

@ -586,8 +586,8 @@ textarea, input[type="email"], input[type="number"], input[type="password"], inp
.form-field .required {
color: #F3443F;
font-size: 3rem;
line-height: 3rem;
font-size: 2rem;
line-height: 2rem;
vertical-align: top;
height: 1.5rem;
display: inline-block; }

View File

@ -25,8 +25,8 @@ label {
.form-field {
.required {
color: #F3443F;
font-size: $core-font-size + 2rem;
line-height: $core-font-size + 2rem;
font-size: $core-font-size + 1rem;
line-height: $core-font-size + 1rem;
vertical-align: top;
height: 1.5rem;
display: inline-block;

View File

@ -1,8 +0,0 @@
{% extends 'partials/base.html.twig' %}
{% block content %}
{{ content }}
{% include "forms/form.html.twig" %}
{% endblock %}

View File

@ -1,12 +1,12 @@
{% extends 'partials/base.html.twig' %}
{% block content %}
<div class="modular-row bottom ">
{{ content }}
<div class="alert">{{ form.message }}</div>
<h2>{{ form.message }}</h2>
<p>Here is the summary of what you wrote to us:</p>
{% include "forms/data.html.twig" %}
</div>
{% endblock %}

View File

@ -0,0 +1,10 @@
<div class="modular-row contact {{ page.header.class }}">
<div class="g-grid pure-g-r">
<div id="listing" class="g-block pure-u-2-3">
{% include "forms/form.html.twig" %}
</div>
<div id="sidebar" class="g-block size-1-3 pure-u-1-3">
{{ page.content }}
</div>
</div>
</div>