forked from bofh/fetsite
Fetprofiles verbesserung Calentry upcoming
This commit is contained in:
@@ -1,23 +1,25 @@
|
||||
<div class="container-fluid">
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<h1>Listing fetprofiles</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<% @fetprofiles.each do |fetprofile| %>
|
||||
<li>
|
||||
<%= %>
|
||||
<td><%= fetprofile.vorname %></td>
|
||||
<td><%= fetprofile.nachname %></td>
|
||||
<td><%= fetprofile.short %></td>
|
||||
<td><%= fetprofile.fetmailalias %></td>
|
||||
<td><%= fetprofile.desc %></td>
|
||||
|
||||
<td><%= fetprofile.active %></td>
|
||||
<td><%= link_to 'Show', fetprofile %></td>
|
||||
<td><%= link_to 'Edit', edit_fetprofile_path(fetprofile) %></td>
|
||||
<td><%= link_to 'Destroy', fetprofile, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
</li>
|
||||
<div class="row-fluid">
|
||||
<div class="span3">
|
||||
<%= image_tag fetprofile.picture.portrait.url %>
|
||||
</div>
|
||||
<div class="span9">
|
||||
|
||||
<h2><%= link_to fetprofile.name, fetprofile %></h2>
|
||||
<p><%= fetprofile.fetmailalias %></p>
|
||||
<p><%= fetprofile.desc %></p>
|
||||
<p><%= fetprofile.active %> </p>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<br />
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<%= link_to 'New Fetprofile', new_fetprofile_path %>
|
||||
</div></div></div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<p>
|
||||
<%= "<b>Aktiv</b>".html_safe if @fetprofile.active %>
|
||||
</p>
|
||||
|
||||
<p><%= link_to 'Destroy', @fetprofile, method: :delete, data: { confirm: 'Are you sure?' } %></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user