From b25ce5e54df9448b20f62071dbb5300cfd91a1b1 Mon Sep 17 00:00:00 2001
From: jpl
Date: Wed, 3 Aug 2016 16:54:42 +0200
Subject: Refs #1295: convert erb to slim (stop_areas_referentials)
---
 app/views/stop_area_referentials/show.html.erb  | 19 -------------------
 app/views/stop_area_referentials/show.html.slim | 13 +++++++++++++
 2 files changed, 13 insertions(+), 19 deletions(-)
 delete mode 100644 app/views/stop_area_referentials/show.html.erb
 create mode 100644 app/views/stop_area_referentials/show.html.slim
diff --git a/app/views/stop_area_referentials/show.html.erb b/app/views/stop_area_referentials/show.html.erb
deleted file mode 100644
index aa198bcce..000000000
--- a/app/views/stop_area_referentials/show.html.erb
+++ /dev/null
@@ -1,19 +0,0 @@
-
-<%= title_tag "Référentiel d'arrêts #{@stop_area_referential.name}" %>
-
-
-
-
-
-  
-    - 
-      <%= @stop_area_referential.stop_areas.size %>
-      <%= link_to Referential.human_attribute_name("stop_areas"), stop_area_referential_stop_areas_path(@stop_area_referential) %>
-    
 
-  
-
 
-
-<% content_for :sidebar do %>
-
-<% end %>
diff --git a/app/views/stop_area_referentials/show.html.slim b/app/views/stop_area_referentials/show.html.slim
new file mode 100644
index 000000000..658004dcc
--- /dev/null
+++ b/app/views/stop_area_referentials/show.html.slim
@@ -0,0 +1,13 @@
+/ FIXME #820
+= title_tag "Référentiel d'arrêts #{@stop_area_referential.name}"
+
+.summary
+
+.panel.panel-default
+  ul.list-group width="75%"
+    li.list-group-item
+      span.badge = @stop_area_referential.stop_areas.size
+      = link_to Referential.human_attribute_name("stop_areas"), stop_area_referential_stop_areas_path(@stop_area_referential)
+
+- content_for :sidebar do
+  ul.actions
\ No newline at end of file
-- 
cgit v1.2.3