Sha256: d613fea3ede83a8d4c658e3fa35918a98d05f3e06eedc1bc7438c302e3534de1
Contents?: true
Size: 958 Bytes
Versions: 51
Compression:
Stored size: 958 Bytes
Contents
<%= form_for(@produce) do |f| -%> <%= f.error_messages -%> <div class="field"> <%= f.label t('activerecord.models.patron') -%><br /> <%- if @produce.patron -%> <%= link_to @produce.patron.full_name, @produce.patron -%> <%= f.hidden_field :patron_id -%> <%- else -%> <%= f.text_field :patron_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
51 entries across 51 versions & 1 rubygems