blob: 8abedfc4f95a24d1bf39783b93d5fc218c71336f (
plain)
1
2
3
4
5
6
7
8
|
<% GLSAMAKER_TEMPLATE_TARGETS.each do |target| %>
<div id="templates-<%= target %>" style="display: none;" class="popup">
<%= form_tag({:controller => 'tools', :action => 'template'}, :remote => true) do -%>
<%= hidden_field('template', 'target', :value => target) %>
<%= select('template', 'id', (@templates[target] || []).collect {|template| [template.name, template.id]}) %><%= image_submit_tag 'icons/next.png', :style => 'margin-top: .3em; vertical-align: top;' %>
<% end -%>
</div>
<% end %>
|