+$module: ".form";
+
+#{$module} {
+
+ @include margin-top(2);
+
+ input[type="submit"] {
+ @extend .button;
+ margin-left: 200px !important;
+ display: inline-block;
+ }
+
+ label {
+ width: 200px;
+ text-align: right;
+ display: inline-block;
+ vertical-align: top;
+
+ @include padding(0.25 1 0.25 0);
+ @include font-size(m);
+ @include line-height(1);
+ @include typeface(sans-serif);
+
+ @include mq($until: xs) {
+ width: 100%;
+ display: block;
+ text-align: left;
+ }
+ }
+
+ .errorlist {
+ list-style-type: none;
+ padding: 0;
+ padding-left: 200px;
+ @include margin-left(1);
+ margin: 0;
+
+ color: red;
+ @include font-size(xs);
+ @include line-height(1);
+
+ @include mq($until: xs) {
+ padding-left: 0;
+ }
+ }
+
+ input[type="text"], input[type="email"], textarea {
+
+ @include font-size(m);
+ @include line-height(1);
+ @include padding(.25 .25);
+
+ @include transition(all 0.25s ease-in-out);
+
+ outline: 0;
+ border: 1px solid $color-black;
+ width: calc(100% - 220px);
+
+ &:focus {
+ border-color: $color-main;
+ }
+
+ @include mq($until: xs) {
+ width: 100%;
+ }
+
+ }
+
+}
{% if messages %}
+messages ?
<ul class="messages">
{% for message in messages %}
- <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
+ <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
-<form action="" method="post" enctype="multipart/form-data">{% csrf_token %}
+<form class="form" action="" method="post" enctype="multipart/form-data">{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Send message" />
</form>
{% extends "pages/page.html" %}
{% load mezzanine_tags keyword_tags i18n organization_tags %}
+{% block breadcrumb_menu %}
+
+ {{ block.super }}
+ <li class="breadcrumb__item active">{{ job_offer.title }}</li>
+
+{% endblock %}
{% block page_title %}
{% block page_content %}
- {% include "core/inc/messages.html" %}
+ {% include "core/inc/messages.html" %}
+
+ {% comment %}
+ <p>{% trans "Category" %} : {{ job_offer.type }}</p>
+ {% endcomment %}
+
+ {{ job_offer.content|richtext_filters|safe }}
- <p>{% trans "Category" %} : {{ job_offer.type }}</p>
- <p>{{ job_offer.content|richtext_filters|safe }}</p>
- {% with form as job_offer.job_response %}
- {% include "job/inc/job_response_form.html" %}
- {% endwith %}
+ {% with form as job_offer.job_response %}
+ {% include "job/inc/job_response_form.html" %}
+ {% endwith %}
{% endblock %}