From 4c3df5a67d3f4ecdf452a79cddb7d41cab7a135c Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Thu, 4 Jul 2019 09:43:05 +0200 Subject: [PATCH] Change tabs to spaces --- .../_protocol_card.html.erb | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/app/views/protocol_importers/_protocol_card.html.erb b/app/views/protocol_importers/_protocol_card.html.erb index 2e729b6ba..df708a80c 100644 --- a/app/views/protocol_importers/_protocol_card.html.erb +++ b/app/views/protocol_importers/_protocol_card.html.erb @@ -1,25 +1,25 @@
-

<%= protocol[:title] %>

+ data-id='<%= protocol[:id] %>' + data-protocol-source='<%= protocol[:source] %>' + data-url='<%= team_build_external_protocol_path(current_team.id,) %>' + data-show-url='<%= team_show_external_protocol_path(current_team.id) %>' + data-show-protocol-id='<%= protocol[:uri] %>'> +

<%= protocol[:title] %>

-
-
- <%= l(Time.at(protocol[:created_on]).to_datetime, format: :full_date) %> • <%= protocol[:authors] %> -
+
+
+ <%= l(Time.at(protocol[:created_on]).to_datetime, format: :full_date) %> • <%= protocol[:authors] %> +
-
-
- <%= t('protocol_importers.card.views_and_steps', nr_of_views: protocol[:nr_of_views], nr_of_steps: protocol[:nr_of_steps]) %> -
-
+
+
+ <%= t('protocol_importers.card.views_and_steps', nr_of_views: protocol[:nr_of_views], nr_of_steps: protocol[:nr_of_steps]) %> +
+
<% if show_import_button %> <% end %> -
-
-
+
+
+