parent
2629778e0d
commit
e95da047ab
|
After Width: | Height: | Size: 170 KiB |
@ -1,7 +1,9 @@
|
|||||||
|
@import 'partials/colors';
|
||||||
@import 'bootstrap/scss/bootstrap';
|
@import 'bootstrap/scss/bootstrap';
|
||||||
@import 'bootstrap-icons/font/bootstrap-icons';
|
@import 'bootstrap-icons/font/bootstrap-icons';
|
||||||
@import 'partials/colors';
|
|
||||||
@import 'partials/bootstrap-overrides';
|
@import 'partials/bootstrap-overrides';
|
||||||
|
@import "@fortawesome/fontawesome-free/scss/fontawesome";
|
||||||
|
@import "@fortawesome/fontawesome-free/scss/solid";
|
||||||
@import 'partials/layout';
|
@import 'partials/layout';
|
||||||
@import 'partials/links';
|
@import 'partials/links';
|
||||||
@import 'partials/downloads';
|
@import 'partials/downloads';
|
||||||
|
|||||||
@ -1,26 +1,35 @@
|
|||||||
<div class="container pb-5">
|
<div class="container pb-5">
|
||||||
<h1>Contact Form</h1>
|
<div class="text-center">
|
||||||
|
<h1>Contact Form</h1>
|
||||||
|
</div>
|
||||||
<%= form_for @contact, url: home_index_path, method: :create, data: { turbo: false } do |f| %>
|
<%= form_for @contact, url: home_index_path, method: :create, data: { turbo: false } do |f| %>
|
||||||
<div class="col-md-6">
|
<hr class="color-secondary" />
|
||||||
|
<div class="form-group">
|
||||||
<%= f.label :name %></br>
|
<%= f.label :name %></br>
|
||||||
<%= f.text_field :name, required: true, class: "contact-form-text-area" %></br>
|
<%= f.text_field :name, required: true, class: "form-control" %></br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
<%= f.label :email %></br>
|
<%= f.label :email %></br>
|
||||||
<%= f.text_field :email, required: true, class: "contact-form-text-area" %></br>
|
<%= f.text_field :email, required: true, class: "form-control" %></br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
<%= f.label :organization %></br>
|
<%= f.label :organization %></br>
|
||||||
<%= f.text_field :organization, required: true, class: "contact-form-text-area" %></br>
|
<%= f.text_field :organization, required: true, class: "form-control" %></br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
<%= f.label :message %></br>
|
<%= f.label :message %></br>
|
||||||
<%= f.text_area :message, rows: 8, cols: 40, required: true, class: "contact-form-text-area",
|
<%= f.text_area :message, rows: 8, cols: 40, required: true, class: "form-control",
|
||||||
placeholder: "Send me a message"%></br>
|
placeholder: "Send me a message"%></br>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class= "d-none">
|
<div class= "d-none">
|
||||||
<%= f.label :nickname %>
|
<%= f.label :nickname %>
|
||||||
<%= f.text_field :nickname, :hint => 'Leave this field blank!' %>
|
<%= f.text_field :nickname, :hint => 'Leave this field blank!' %>
|
||||||
</div>
|
|
||||||
|
|
||||||
<%= f.submit 'Send Message', class: 'btn btn-primary' %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<%= f.submit 'Send Message', class: 'btn btn-primary' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue