From e8f2a2542f9f53603668826bd953619b8b6822e6 Mon Sep 17 00:00:00 2001 From: Felipe Laprano Date: Sun, 18 Jun 2017 22:13:06 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20para=20n=C3=A3o=20exibir?= =?UTF-8?q?=20a=20tabelaem=20vazia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/translations/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/translations/index.html.erb b/app/views/translations/index.html.erb index 98efdae..32878e6 100644 --- a/app/views/translations/index.html.erb +++ b/app/views/translations/index.html.erb @@ -2,6 +2,7 @@

Lista de Traduções

+<% unless @translations.empty? %> @@ -21,6 +22,7 @@ <% end %>
+<% end %> <%= link_to 'Adicionar Tradução', new_translation_path, class: "btn btn-success" %>