Sha256: 65cbbe81b4895dddf49172bf3c6554a18baa6d072f62a296a61569c54deee0e8
Contents?: true
Size: 700 Bytes
Versions: 2
Compression:
Stored size: 700 Bytes
Contents
<% # SUMMARY: Display control for transitioning a proposal's status. # # Variables: # * proposal proposal ||= @proposal %> <div id="proposal_transition_control_container_<%= proposal.id %>" class="proposal_transition_control_container proposal_control_container"> <% if proposal.aasm_events_for_current_state.empty? %> No valid transitions available from status <%= proposal.aasm_current_state %> <% else %> <%= select('proposal', 'transition', proposal.titles_and_statuses[1 .. proposal.titles_and_statuses.length], {:include_blank => proposal.titles_and_statuses[0][0]}, {:class => 'proposal_transition_control proposal_control', :x_proposal_id => proposal.id}) %> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems