Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% form_for(@profile) do |f| %>
- <%= f.error_messages %>
- <p>
- <%= f.label :text_update %><br />
- <%= f.text_area :text_update %>
- </p>
- <%= f.submit 'Create' %>
- </p>
- <% end %>
- <h1>What's going on</h1>
- <div id="status">
- <% @profiles.each do |profile| %>
- <%= link_to 'New status', new_profile_path%>
- </b>
- <br />
- <%= simple_format profile.text_update %><br />
- <br />
- <%= link_to 'Delete status', profile, :confirm => 'Are you sure?', :method => :delete %>
- <% end %>
- </div>
Add Comment
Please, Sign In to add comment