Skip to content

Commit ff736d4

Browse files
committed
some files
1 parent 1dbb4ff commit ff736d4

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

app/views/contact/_form.html.erb

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
1-
<%= form_for @contact do |f| %>
2-
<div class="field">
3-
<%= f.label :name %>
4-
<%= f.text_field :name %>
5-
</div>
6-
<div class="field">
7-
<%= f.label :email %>
8-
<%= f.text_field :email %>
9-
</div>
10-
<div class="field">
11-
<%= f.label :message %>
12-
<%= f.password_field :message %>
13-
</div>
14-
<div class="actions"><%= f.submit %></div>
15-
<% end %>
1+
<div id="form">
2+
<h1 id="create">Let's create together!</h1>
3+
<h3 id='make'>Submit your contact information and project ideas and I will be sure to get back to you.</h3>
4+
<%= form_for @contact do |f| %>
5+
<div class="field">
6+
<%= f.label :name %>
7+
<%= f.text_field :name %>
8+
</div>
9+
<div class="field">
10+
<%= f.label :email %>
11+
<%= f.text_field :email %>
12+
</div>
13+
<div class="field" id="message">
14+
<%= f.label :message %>
15+
<%= f.text_field :message %>
16+
</div>
17+
<div class="actions">
18+
<%= f.submit "Submit" %>
19+
<%= link_to "Back", root_path, id: 'button' %>
20+
<!-- input[type=submit] -->
21+
</div>
22+
<% end %>
23+
</div>
24+
</div>

0 commit comments

Comments
 (0)