Sha256: cab64f714180dbb610d432e80b3cd16f1ea6ae53a1bc845a76b52efc8b03dcde

Contents?: true

Size: 547 Bytes

Versions: 4

Compression:

Stored size: 547 Bytes

Contents

<% if params[:search] %>
  <% @matches ||= [] %>
  <ul>
    <% if @matches.empty?  %>
      <li>
        <b><%= params[:search] %></b> was not found.
      </li>
    <% else %>
      <% for user in @matches %>
        <% unless user.fullname.blank? %>
        <li>
          <%= link_to 'Add', '#', :class => 'addable add-speaker', :speaker_id => user.id %>
          <strong><%= user.fullname %></strong>
          <p class='affiliation'><%= user.affiliation %></p>
        </li>
        <% end %>
      <% end %>
    <% end %>
  </ul>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 app/views/open_conference_ware/proposals/_search_speakers.html.erb
open_conference_ware-1.0.0.pre3 app/views/open_conference_ware/proposals/_search_speakers.html.erb
open_conference_ware-1.0.0.pre2 app/views/open_conference_ware/proposals/_search_speakers.html.erb
open_conference_ware-1.0.0.pre1 app/views/open_conference_ware/proposals/_search_speakers.html.erb