Skip to content

Commit

Permalink
Take author data out of account page
Browse files Browse the repository at this point in the history
  • Loading branch information
kytrinyx committed Apr 8, 2013
1 parent 587e00a commit 384dd0c
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions app/views/accounts/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
<h1><%= current_author.name %></h1>

<h2>Your data</h2>
<dl>
<dt>Name</dt>
<dd><%= current_author.name %></dd>

<dt>Phone Number</dt>
<dd><%= current_author.phone_number %></dd>

<dt>Email</dt>
<dd><%= current_author.email %></dd>

<dt>Website</dt>
<dd><%= current_author.website %></dd>

<dt>Twitter Username</dt>
<dd>@<%= current_author.twitter %></dd>
</dl>

<h2>Your articles</h2>
<ul>
<% current_author.articles.each do |article| %>
Expand Down

0 comments on commit 384dd0c

Please sign in to comment.