mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 14:01:48 +00:00
19 lines
404 B
Text
19 lines
404 B
Text
<h2>
|
|
Articles
|
|
</h2>
|
|
|
|
<div class="userFields">
|
|
<% Category.of_user(@user).all.each do |category| %>
|
|
<h3>
|
|
<%= category %>
|
|
</h3>
|
|
<% @user.articles.category(category).ordered.limit(10).each do |article| %>
|
|
<div class="indented">
|
|
<div class="left">
|
|
<%= namelink article %>
|
|
</div>
|
|
<br class="clear" />
|
|
</div>
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|