From 59e09827ec30c489e5f5424edcb79a0744f8e7ef Mon Sep 17 00:00:00 2001 From: Mischa The Evil Date: Sat, 7 Jan 2017 18:06:51 +0100 Subject: [PATCH 2/4] Add 'icon' and 'icon-add' classes to new enum links. --- app/views/enumerations/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git app/views/enumerations/index.html.erb app/views/enumerations/index.html.erb index b832d5c..65f7afb 100644 --- app/views/enumerations/index.html.erb +++ app/views/enumerations/index.html.erb @@ -5,7 +5,7 @@ <% enumerations = klass.shared %> -

<%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %>

+

<%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name), :class => 'icon icon-add' %>

<% if enumerations.any? %> -- 2.7.4.windows.1