github.com/EngineerKamesh/gofullstack@v0.0.0-20180609171605-d41341d7d4ee/volume4/section3/gopherface/templates/partials/friend_search_results.html (about)

     1  {{if not . }}
     2  No gophers were found with the specified search term.
     3  {{else}}
     4  		<form id="searchResults" class="pure-form">
     5  {{range .}}
     6  		<div class="searchEntry">
     7  			<img height="108" class="searchImage" src="{{.ProfileImagePath}}">
     8  			<div class="gopherUsername"><span class="searchUsername"><a href="/profile/{{.Username}}">@{{.Username}}</a></span></div>
     9  
    10  			<div class="gopherName"><span class="searchName">{{.FirstName}} {{.LastName}}</span></div>
    11  			<div class="gopherLocation"><span class="searchLocation">{{.Location}}</span></div>
    12  
    13  			<div class="gopherActionButton">
    14  			<fieldset class="pure-group">
    15  				<button data-uuid="{{.UUID}}" type="button" class="followButton pure-button pure-button-primary">Follow</button>
    16  			</fieldset>
    17  			</div>
    18  		</div>
    19  <hr />
    20  {{end}}
    21  		</form>
    22  {{end}}