Sha256: 539509cf84c35780569e93e40f9a52c63e58ae1cb87ec6ec1596dbf035bd6078
Contents?: true
Size: 515 Bytes
Versions: 6
Compression:
Stored size: 515 Bytes
Contents
<%# locals => reportable, optional => pivot %> <% pivot = nil if !local_assigns.has_key?(:pivot) %> <% if reportable.instance_of?(Mg::Goal) %> <% gmts = reportable.mg_goal_meta_types %> <% end %> <% if !gmts.nil? %> <div class="item pivot"> <%= label_tag :'report_item[pivot]', "Pivot" %> <%= select_tag :'report_item[pivot]', options_for_select( [[ "None", "" ]] + gmts.map { |gmt| [ gmt.name, "#{gmt.id}-#{gmt.class}" ] }, pivot.nil? ? "" : "#{pivot.id}-#{pivot.type}" ) %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems