forked from bofh/fetsite
fetprofiles
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div class="media">
|
||||
|
||||
<span class="pull-left">
|
||||
<%= image_tag fetprofile.picture.portrait.url %>
|
||||
<%= image_tag fetprofile.picture.thumb.url %>
|
||||
</span>
|
||||
|
||||
<div class="media-body">
|
||||
|
||||
7
app/views/fetprofiles/_list_row.html.erb
Normal file
7
app/views/fetprofiles/_list_row.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<tr>
|
||||
<td><%= image_tag list_row.picture.thumb.url %> </td>
|
||||
<td><%= list_row.name %> </td>
|
||||
<td><%= list_row.short %> </td>
|
||||
<td><%= list_row.fetmail %> </td>
|
||||
|
||||
</tr>
|
||||
@@ -10,6 +10,7 @@
|
||||
<div class="span12">
|
||||
<%= render 'layouts/pretty_toolbar' %>
|
||||
|
||||
|
||||
<% link_to I18n.t('profile.new_profile'), new_fetprofile_path %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -45,6 +46,13 @@
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<%= link_to I18n.t('profile.new_profile'), new_fetprofile_path %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
7
app/views/fetprofiles/intern_list.html.erb
Normal file
7
app/views/fetprofiles/intern_list.html.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
Liste
|
||||
<table>
|
||||
<tr><th></th><th>Name</th><th></th><th>E-Mail</th></tr>
|
||||
<% @fetprofiles.each do |fp| %>
|
||||
<%= render partial: "fetprofiles/list_row", object: fp %>
|
||||
<% end %>
|
||||
</table>
|
||||
Reference in New Issue
Block a user