Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4975a77a02
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 62 lines (55 sloc) 1.49 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
<div id="userdetails">
<p>
  <b>Twitter ID:</b>
  <%=h @member.twitter_id %>
</p>

<p>
  <b>Screen name:</b>
  <%=h @member.screen_name %>
</p>

<p>
  <b>Token:</b>
  <%=h @member.token %>
</p>

<p>
  <b>Secret:</b>
  <%=h @member.secret %>
</p>
</div>

<% form_tag update_status_member_path do -%>
<p>
  <b>What are you doing?</b><br />
  <%= text_area_tag 'status_message' %>
</p>
<div><%= submit_tag 'Post' %></div>
<% end -%>

<div id="menu">
<%= link_to_remote "Show friends",
   :url => partialfriends_member_path(@member),
   :method => :get,
   :loading => "$('error').innerHTML = '';$('data').innerHTML = 'Loading..';",
   :update => { :success => "data", :failure => "error" }
%> |
<%= link_to_remote "Show followers",
   :url => partialfollowers_member_path(@member),
   :method => :get,
   :loading => "$('error').innerHTML = '';$('data').innerHTML = 'Loading..';",
   :update => { :success => "data", :failure => "error" }
%> |
<%= link_to_remote "Show mentions",
   :url => partialmentions_member_path(@member),
   :method => :get,
   :loading => "$('error').innerHTML = '';$('data').innerHTML = 'Loading..';",
   :update => { :success => "data", :failure => "error" }
%> |
<%= link_to_remote "Show direct messages",
   :url => partialdms_member_path(@member),
   :method => :get,
   :loading => "$('error').innerHTML = '';$('data').innerHTML = 'Loading..';",
   :update => { :success => "data", :failure => "error" }
%>
</div>

<div id="error">
</div>
<div id="data">
</div>
Something went wrong with that request. Please try again.