1
0
mirror of https://github.com/bigchaindb/site.git synced 2025-02-11 08:09:33 +01:00

Name tweaks on CLA form (#116)

This commit is contained in:
Matthias Kretschmann 2017-04-24 14:09:02 +02:00 committed by GitHub
parent af94eb0963
commit 0cfeb82251
3 changed files with 22 additions and 7 deletions

View File

@ -6,11 +6,11 @@ var FormCla = (function(w, d, $) {
var app, _private, _config;
_config = {
form: $('.form-cla'),
formCheckbox: $('.form-cla').find('.agree'),
formBtn: $('.form-cla').find('.btn'),
formURL: $('.form-cla').attr('action'),
formMethod: $('.form-cla').attr('method')
form: $('.form--cla'),
formCheckbox: $('.form--cla').find('.agree'),
formBtn: $('.form--cla').find('.btn'),
formURL: $('.form--cla').attr('action'),
formMethod: $('.form--cla').attr('method')
};
_private = {

View File

@ -1,5 +1,20 @@
.form-cla {
.form--cla {
padding: $spacer ($spacer * 2);
background: $gray-dark;
.grid {
@media ($screen-sm) {
justify-content: space-between;
.form-group {
margin-bottom: 0;
}
}
}
.grid__col {
@media ($screen-sm) {
flex-basis: 48%;
}
}
}

View File

@ -14,7 +14,7 @@
<form id="form-cla-individuals" class="form-cla js-parsley" action="//formspree.io/{{ site.email.cla }}" method="POST">
<p class="form-group">
<input class="form-control" type="text" id="name" name="name" required>
<label class="form-label" for="name">Your Name</label>
<label class="form-label" for="name">Your Full Name</label>
</p>
<p class="form-group">
<input class="form-control" type="email" id="email" name="_replyto" required>