Sha256: 46a469efd995550156d93cdcff6bfee0b1705608a867f03468155524045ae65f
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
<% can_remove = @proposal.users.size > 1 %> <table> <% @proposal.users.each do |user| %> <tr> <td class="remove-speaker-cell"> <% if can_remove %> <% message = user == current_user ? "You will no longer be able to edit this proposal. Are you sure you want to remove yourself?" : "#{h user.fullname} will no longer be able to edit this proposal. Are you sure you want to remove them?" %> <%= link_to "", "#", :class => "remove-speaker deletable", :speaker_id => user.id, :speaker_fullname => user.fullname %> <% else %> <% end %> </td> <td width="100%"> <%= h user.fullname %> <%= hidden_field_tag "speaker_ids[#{user.id}]", user.id, :class => "speaker_id" %> </td> </tr> <% end %> <% if can_remove %> <tr> <td colspan="2"> <p class="instructions"> <b>Remove speakers</b> by clicking the red X next to the name of the speaker you want to remove. </p> </td> </tr> <% end %> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
open_conference_ware-1.0.0.pre1 | app/views/open_conference_ware/proposals/_manage_speakers.html.erb |