diff --git a/app/views/digests/markdown.html.haml b/app/views/digests/markdown.html.haml
index 7fabbc6d..47eeabae 100644
--- a/app/views/digests/markdown.html.haml
+++ b/app/views/digests/markdown.html.haml
@@ -2,8 +2,7 @@
- description = capture_haml do
= t '.week', count: @events.count
- \
-'
+
- second_part = capture_haml do
- @events.sort_by(&:start_time).each do |event|
[#{event.region.region.try(:code) || event.region.try(:code)} #{event.city}] [#{event.title}](#{event_url event}) - #{display_date event}
@@ -14,7 +13,7 @@
- if event.url.present?
* #{Event.human_attribute_name :url}: #{event.url}
* #{Event.human_attribute_name :tags}:
- #{event.tags.collect { |tag| "[#{tag}](#{tag_url tag.name})" }.join ', '}
+ = event.tags.collect { |tag| "[#{tag}](#{tag_url tag.name})" }.join ', '
\
%h1= title
@@ -54,10 +53,6 @@
%label(for='title') Titre
%input#title{ type: 'text', name: 'news[title]', value: title }
- .field.authenticity_token
- %label(for='token') Jeton
- %input#token(type='text' name='authenticity_token' autocomplete='off')
-
.field.description
%label(for='description') Contenu
%textarea#description(name='news[wiki_body]')= description