Sha256: 29d326133b07cdc3c62ddeb17a6f80b0e15f5e2226352459f59abf6d1f91d8f1
Contents?: true
Size: 856 Bytes
Versions: 3
Compression:
Stored size: 856 Bytes
Contents
<tr class="<%= cycle('odd', 'even') %>"> <td><%= f.object.name %></td> <td><%= f.object.text %></td> </tr> <tr> <td colspan="2" style="padding-left: 25px"> <%= render 'shared/form/error_messages', resource: f.object %> <h5>Resource</h5> <%= f.hidden_field :id %> <% f.object.candidatures.build if f.object.candidatures.select{|c| ['new', 'accepted'].include?(c.state)}.none? %> <% f.object.candidatures.sort! do |x,y| Candidature::STATES.index(x.state.to_sym) <=> Candidature::STATES.index(y.state.to_sym) end %> <%= f.simple_fields_for :candidatures do |candidature_form| %> <% @debug = true %> <%= render_product_specific_partial_if_available( candidature_form.object, 'workflow/tasks/candidature_fields', f: candidature_form ) %> <% end %> </td> </tr>
Version data entries
3 entries across 3 versions & 1 rubygems