-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of gitlab.com:radiet/cempaka-sobat-bumi
- Loading branch information
Showing
6 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
class PagesController < ApplicationController | ||
def landing | ||
end | ||
|
||
def contact | ||
@feedback = Feedback.new | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div class="header-intro-contact view hm-black-light jarallax" data-jarallax='{"speed": 0.2}' style="background-image: url(assets/images/contact-bg.jpg);"> | ||
<div class="full-bg-img"> | ||
<div class="container flex-center"> | ||
<div class="row pt-5 mt-3"> | ||
<div class="col-md-12 mb-3"> | ||
<div class="intro-info-content text-center"> | ||
<h5 class="font-up mb-1 font-bold wow fadeInDown" data-wow-delay="0.3s">We Can Make Your Ideas Become Stunning Application?</h5> | ||
<h1 class="display-3 mb-1 wow fadeInDown" data-wow-delay="0.3s">Contact Us</h1> | ||
<div class="intro-separator"></div> | ||
<%= form_for @feedback, url: {action: 'create', controller: 'api/v1/feedbacks'}, :html => {:class => 'contact-form'} do |f| %> | ||
<div class="container"> | ||
<div class="row"> | ||
<%= f.text_field :name, placeholder: "Name", :html => {:class => 'col-md-12'}%> | ||
<%= f.email_field :email, placeholder: "Email", :html => {:class => 'col-md-12'}%> | ||
<%= f.telephone_field :phone_number, placeholder: "Telephone", :html => {:class => 'col-md-12'}%> | ||
<%= f.text_area :message, placeholder: "Message", :html => {:class => 'col-md-12'}%> | ||
<%= f.submit "Send My Message", :html => {:class => 'col-md-12'}%> | ||
</div> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters