view app/views/custom_fields/index.html.erb @ 1540:322d7b57e5f0 live

Making this work through the api is too complicated for now; this will do OK
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 02 Jun 2015 10:58:31 +0100
parents dffacf8a6908
children
line wrap: on
line source
<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) %>

<% 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 %>