annotate 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
rev   line source
Chris@1517 1 <div class="contextual">
Chris@1517 2 <%= link_to l(:label_custom_field_new), new_custom_field_path, :class => 'icon icon-add' %>
Chris@1517 3 </div>
Chris@1517 4
Chris@1464 5 <%= title l(:label_custom_field_plural) %>
Chris@0 6
Chris@1517 7 <% if @custom_fields_by_type.present? %>
Chris@1517 8 <%= render_custom_fields_tabs(@custom_fields_by_type.keys) %>
Chris@1517 9 <% else %>
Chris@1517 10 <p class="nodata"><%= l(:label_no_data) %></p>
Chris@1517 11 <% end %>