Browse Source

Improvements to the contact form

development
Godwin 8 years ago
parent
commit
46c8443bc6
  1. 14
      app/assets/stylesheets/_application.scss
  2. 2
      app/views/application/_contact.html.haml

14
app/assets/stylesheets/_application.scss

@ -2193,6 +2193,20 @@ body {
font-size: 2em; font-size: 2em;
margin-bottom: 1em; margin-bottom: 1em;
} }
#contact-dlg {
.title {
background-color: $colour-4;
}
.email-field {
margin-top: 2em;
}
textarea {
min-height: 7.5em;
}
}
} }
@include keyframes(fade-out) { @include keyframes(fade-out) {

2
app/views/application/_contact.html.haml

@ -1,4 +1,4 @@
= form_tag contact_send_path do = form_tag contact_send_path, class: 'contact-form' do
= emailfield :email, nil, big: true, required: true unless logged_in? = emailfield :email, nil, big: true, required: true unless logged_in?
= contact_reason_select = contact_reason_select
= textfield :subject, nil, required: true, big: true = textfield :subject, nil, required: true, big: true

Loading…
Cancel
Save