Sha256: ff4e97346b73f640fa66ad59339654212de01eba75ca28de42767f5786fb58e7

Contents?: true

Size: 298 Bytes

Versions: 5

Compression:

Stored size: 298 Bytes

Contents

<%= form_tag :action => :relate, :id => @item.id do %>
  <%= hidden_field :related, :model, :value => model_to_relate %>
  <p><%= select :related, :id, items_to_relate.collect { |f| [f.to_label, f.id] }.sort_by { |e| e.first } %> &nbsp; <%= submit_tag _("Add"), :class => "button" %></p>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typus-1.0.0.pre5 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre4 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre3 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre2 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre app/views/admin/templates/_relate_form.html.erb