Sha256: 9f9b2037088ce47c82df58bc3326d12ca42a08ea93d08d2aa75f1cfea2da3969
Contents?: true
Size: 1.08 KB
Versions: 3
Compression:
Stored size: 1.08 KB
Contents
<%= form_for(@manifestation_relationship) do |f| %> <%= f.error_messages -%> <div class="field"> <% if @manifestation_relationship.try(:parent) %> <%= f.label :parent %><br /> <%= link_to @manifestation_relationship.parent.original_title, @manifestation_relationship.parent %> <%= f.hidden_field :parent_id %> <% else %> <%= f.label :parent %><br /> <%= f.text_field :parent_id %> <% end %> </div> <div class="field"> <% if @manifestation_relationship.child.try(:original_title) %> <%= f.label :child %><br /> <%= link_to @manifestation_relationship.child.original_title, @manifestation_relationship.child %> <%= f.hidden_field :child_id %> <% else %> <%= f.label :child %><br /> <%= f.text_field :child_id %> <% end %> </div> <div class="field"> <%= f.label :manifestation_relationship_type_id %><br /> <%= f.select(:manifestation_relationship_type_id, @manifestation_relationship_types.collect{|r| [r.display_name, r.id]}) -%> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems