forked from bofh/fetsite
Neuigkeiten updateund lva
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
<h2><%=neuigkeit.title %></h2>
|
||||
<h2><%= link_to neuigkeit.title,neuigkeit_path(neuigkeit) %></h2>
|
||||
<%= if !neuigkeit.author.nil?
|
||||
neuigkeit.author.name
|
||||
end %>
|
||||
<p><%= raw(neuigkeit.text) %></p>
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
<ul class="breadcrumb">
|
||||
<li><%= link_to "Neuigkeiten", rubriken_path %></li>
|
||||
<li><span class="divider">/</span></li>
|
||||
<li><%= link_to @neuigkeit.rubrik.name , rubrik_path(@neuigkeit.rubrik) %> </li>
|
||||
</ul>
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<%= render @neuigkeit %>
|
||||
<p>
|
||||
<b>Datum:</b>
|
||||
<%= @neuigkeit.datum %>
|
||||
</p>
|
||||
|
||||
|
||||
<% elements=[link_to('Edit', edit_neuigkeit_path(@neuigkeit))]
|
||||
elements << link_to('Back', rubrik_path(@neuigkeit.rubrik)) %>
|
||||
<%= toolbar_html (elements) %>
|
||||
<%= toolbar_html (@toolbar_elements) %>
|
||||
|
||||
Reference in New Issue
Block a user