Sha256: fcb246bcbd6300287bbb0f6f1289907f7dc3e6ed79caa4cc7d0c7a2bb44ba291
Contents?: true
Size: 943 Bytes
Versions: 3
Compression:
Stored size: 943 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, p.id]} %> </div> <div class="actions"> <%= f.submit %> </div> <%- end -%>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enju_biblio-0.4.0.rc.1 | app/views/produces/_form.html.erb |
enju_biblio-0.4.0.beta.2 | app/views/produces/_form.html.erb |
enju_biblio-0.4.0.beta.1 | app/views/produces/_form.html.erb |