faqs oberfläche

This commit is contained in:
2014-04-11 13:01:17 +02:00
parent 68925c1463
commit 73bba9bc6f
5 changed files with 56 additions and 41 deletions

View File

@@ -1,25 +1,35 @@
<h1>Listing themengruppen</h1>
<div class="content-wrap content-column">
<p> <%= link_to "FAQS", faqs_themengruppen_path,class=btn %></p>
<ul class="unstyled linkbox-list">
<li>
<% @themengruppen.each do |themengruppe| %>
<div class="container-fluid">
<%= render themengruppe %>
<br/>
<div class="row-fluid">
<!--
<%= link_to 'Edit', edit_themengruppe_path(themengruppe) %>
-->
</div>
</div>
<% end %>
</li>
</ul>
<table>
<tr>
<th>Title</th>
<th>Text</th>
<th></th>
<th></th>
<th></th>
</tr>
<br/>
</div>
<script class="hidden-phone">
<% @themengruppen.each do |themagruppen| %>
<tr>
<td><%= themagruppen.title %></td>
<td><%= themagruppen.text %></td>
<td><%= link_to 'Show', themagruppen %></td>
<td><%= link_to 'Edit', edit_themagruppen_path(themagruppen) %></td>
<td><%= link_to 'Destroy', themagruppen, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</table>
<!-- make_equal_height();
-->
</script>
<br />
<%= link_to 'New Themengruppe', new_themagruppen_path %>
<%= render :partial=>'layouts/pretty_toolbar' %>
<!--
<%= link_to 'New Themengruppe', new_themengruppe_path %>
-->