2014-08-09 18:59:11 +02:00
|
|
|
%h2
|
2014-10-04 18:12:03 +02:00
|
|
|
%em.fa.fa-exclamation-triangle
|
2014-07-01 15:50:39 +02:00
|
|
|
=t '.title'
|
|
|
|
|
2014-10-04 18:12:03 +02:00
|
|
|
- if @event.locality?
|
|
|
|
%h2.warning=t '.warning'
|
|
|
|
|
|
|
|
= form_for @moderation, url: { action: :accept }, html: { method: :put } do |f|
|
2014-10-31 14:33:39 +01:00
|
|
|
= link_to moderations_path do
|
2014-10-04 18:12:03 +02:00
|
|
|
%em.fa.fa-arrow-left
|
|
|
|
=t '.ko'
|
|
|
|
|
|
|
|
= f.button do
|
|
|
|
%em.fa.fa-thumbs-up
|
|
|
|
=t '.ok'
|
2014-07-01 15:50:39 +02:00
|
|
|
|
2014-10-04 18:12:03 +02:00
|
|
|
- if ENV['TWITTER_CONSUMER_KEY'] || Rails.env.development?
|
|
|
|
%fieldset
|
|
|
|
%legend
|
|
|
|
%em.fa.fa-twitter
|
|
|
|
Tweet
|
2014-09-03 18:49:17 +02:00
|
|
|
|
2014-10-04 18:12:03 +02:00
|
|
|
%h3=t '.tweet_helper'
|
2014-09-03 18:49:17 +02:00
|
|
|
|
2014-10-31 15:35:12 +01:00
|
|
|
= @event.to_tweet event_url @event
|
2014-07-01 15:50:39 +02:00
|
|
|
|
2014-08-09 18:59:11 +02:00
|
|
|
%fieldset
|
2014-10-04 18:12:03 +02:00
|
|
|
%legend
|
|
|
|
%em.fa.fa-calendar
|
|
|
|
=Event.model_name.human
|
2014-08-09 18:59:11 +02:00
|
|
|
= render file: '/events/show'
|