Sha256: 77c8eeaaf5b3337633280b51e57f04c9675eec1c16f21a44bd71acc569badae9

Contents?: true

Size: 299 Bytes

Versions: 11

Compression:

Stored size: 299 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 _t("Add"), :class => "button" %></p>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typus-3.0.2 app/views/admin/templates/_relate_form.html.erb
typus-3.0.1 app/views/admin/templates/_relate_form.html.erb
typus-3.0.0 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre13 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre12 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre11 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre10 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre9 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre8 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre7 app/views/admin/templates/_relate_form.html.erb
typus-1.0.0.pre6 app/views/admin/templates/_relate_form.html.erb