Sha256: 0a3bd62e8edc964b06d2dabd5e369e066f51ee4a612e9a14585855d89410fac4
Contents?: true
Size: 1.06 KB
Versions: 8
Compression:
Stored size: 1.06 KB
Contents
<% if @transformations.empty? %> <p>There are currently no transformations for this resource.</p> <% else %> <table class="list"> <thead> <tr> <th>#</th> <th>Source</th> <th>Transformer</th> <th>Target</th> <th></th> </tr> </thead> <tbody> <% @transformations.each do |transformation| %> <tr<%= cycle('', ' class="alt"') %>> <td><%= transformation.position %></td> <td><%= transformation.source_field.name %></td> <td><%= transformation.transformer.name %></td> <td<%= ' class="altered-field"' if transformation.result_field.is_generated %>><%= transformation.result_field.name %></td> <td><%= delete_link("<span class='ui-icon ui-icon-trash'></span>", "/projects/#{@project.id}/resources/#{@resource.id}/transformations/#{transformation.id}") if transformation.deletable? %></td> </tr> <% end %> </tbody> </table> <% end %> <p> <a href="/projects/<%= @project.id %>/resources/<%= @resource.id %>/transformations/new">New transformation</a> </p>
Version data entries
8 entries across 8 versions & 1 rubygems