Sha256: 79e809deec56dad2ffea9379b60580448109f7648ab904a362915d67c17aaeb5
Contents?: true
Size: 952 Bytes
Versions: 69
Compression:
Stored size: 952 Bytes
Contents
<%= form_for(@produce) do |f| -%> <%= f.error_messages -%> <div class="field"> <%= f.label t('activerecord.models.agent') -%><br /> <%- if @produce.agent -%> <%= link_to @produce.agent.full_name, @produce.agent -%> <%= f.hidden_field :agent_id -%> <%- else -%> <%= f.text_field :agent_id -%> <%- end -%> </div> <div class="field"> <%= f.label t('activerecord.models.manifestation') -%><br /> <%- if @produce.manifestation -%> <%= link_to @produce.manifestation.original_title, @produce.manifestation -%> <%= f.hidden_field :manifestation_id -%> <%- else -%> <%= f.text_field :manifestation_id -%> <%- end -%> </div> <div class="field"> <%= f.label t('activerecord.models.produce_type') -%><br /> <%= f.select :produce_type_id, @produce_types.map{|p| [p.display_name.localize, p.id]} %> </div> <div class="actions"> <%= f.submit %> </div> <%- end -%>
Version data entries
69 entries across 68 versions & 2 rubygems