Simple Form 1.3.0 updates and minor fixes

This commit is contained in:
Karol Orzeł 2015-09-18 11:23:40 +02:00
parent 0968ebe34b
commit e608983931
5 changed files with 8 additions and 6 deletions

View File

@ -1327,7 +1327,8 @@ ul.pagination {
font-size: 1rem; }
.contact button {
font-family: "novecento_sans_widedemibold", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
text-transform: uppercase; }
text-transform: uppercase;
display: block; }
.contact #simple_form-success, .contact #simple_form-submit {
display: inline-block; }
.contact #simple_form-success strong, .contact #simple_form-success label, .contact #simple_form-success th, .contact #simple_form-submit strong, .contact #simple_form-submit label, .contact #simple_form-submit th {

File diff suppressed because one or more lines are too long

View File

@ -43,6 +43,7 @@
@extend .default-animation;
font-family: $font-family-header;
text-transform: uppercase;
display: block;
}
#simple_form-success, #simple_form-submit {
display: inline-block;

View File

@ -1,5 +1,5 @@
{% extends 'partials/base.html.twig' %}
{% block content %}
{{ page.content }}
<p>{{ page.content }}</p>
{% endblock %}

View File

@ -2,9 +2,9 @@
<div class="g-grid pure-g-r">
<div id="listing" class="g-block pure-u-2-3">
{% if config.plugins.simple_form.enabled %}
{% set simple_form_config = page.header.simple_form ?: config.themes.deliver.simple_form %}
{{ simple_form(simple_form_config) }}
{% endif %}
{% set simple_form_config = page.header.simple_form ?: config.themes.deliver.simple_form %}
{{ simple_form(simple_form_config) }}
{% endif %}
</div>
<div id="sidebar" class="g-block size-1-3 pure-u-1-3">
{{ content }}