Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="post new">
- <h2>Write on the Wall</h2>
- <%= form_for(@post) do |f| %>
- <table summary="Post for fields">
- <tr>
- <th>Subject</th>
- <td><%= f.text_field(:subject)%></td>
- </tr>
- <tr>
- <th>Body</th>
- <td><%= f.text_field(:body)%></td>
- </tr>
- <tr>
- <th>Country</th>
- <td><%= f.text_field(:country)%></td>
- </tr>
- <tr>
- <th>City</th>
- <td><%= f.text_field(:city)%></td>
- </tr>
- <tr>
- <th>State</th>
- <td><%= f.text_field(:state)%></td>
- </tr>
- <tr>
- <th>Business/Organization</th>
- <td><%= f.text_field(:location_tag)%></td>
- </tr>
- <div class="form-buttons">
- <%= submit_tag("Create Post") %>
- </div>
- <%end%>
- </div>
Add Comment
Please, Sign In to add comment