Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 57a740c6a6
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.434 kB
<h1>Dashboard</h1>
<p>Welcome <%= current_user.email %>! <%= link_to "Sign Out", sign_out_path, method: :delete %></p>
<%= form_for @text_shout do |f| %>
<%= f.text_field :body, placeholder: "Shout here" %>
<%= f.submit "Shout!" %>
<% end %>
<strong>Add a photo shout</strong>
<%= form_for @photo_shout do |f| %>
<%= f.file_field :photo %>
<%= f.submit "Shout!" %>
<% end %>
<div id="shouts">
<%= render @shouts %>
</div>
Jump to Line
Something went wrong with that request. Please try again.