diff options
Diffstat (limited to 'app/views/custom_fields/index.html.erb')
-rw-r--r-- | app/views/custom_fields/index.html.erb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/views/custom_fields/index.html.erb b/app/views/custom_fields/index.html.erb index b4e87f066..e4464132f 100644 --- a/app/views/custom_fields/index.html.erb +++ b/app/views/custom_fields/index.html.erb @@ -1,3 +1,11 @@ +<div class="contextual"> +<%= link_to l(:label_custom_field_new), new_custom_field_path, :class => 'icon icon-add' %> +</div> + <%= title l(:label_custom_field_plural) %> -<%= render_tabs custom_fields_tabs %> +<% if @custom_fields_by_type.present? %> + <%= render_custom_fields_tabs(@custom_fields_by_type.keys) %> +<% else %> + <p class="nodata"><%= l(:label_no_data) %></p> +<% end %> |