Sha256: 61da52c1ce5ad306bb7e84a323b9527c8c6ecddbc0350b8a0bc5962045b4f4db
Contents?: true
Size: 384 Bytes
Versions: 3
Compression:
Stored size: 384 Bytes
Contents
<%= form_tag :action => :relate, :id => @item.id do %> <%= hidden_field :related, :model, :value => model_to_relate %> <%= hidden_field :related, :association_name, :value => association_name %> <p><%= select :related, :id, items_to_relate.map { |f| [f.to_label, f.id] }.sort_by { |e| e.first } %> <%= submit_tag Typus::I18n.t("Add"), :class => "button" %></p> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typus-3.0.6 | app/views/admin/templates/_relate_form.html.erb |
typus-3.0.5 | app/views/admin/templates/_relate_form.html.erb |
typus-3.0.4 | app/views/admin/templates/_relate_form.html.erb |