<% unless @dip.server %>
<%=form('login', context)%>
<p>
Phrase: <input type='password' name='phrase' value='' />
<input type="submit" name="login" value="login"/>
</p>
</form>
<% else %>
<small>[<%=a('login', {'phrase'=>'(bad phrase)'}, context)%>Logout</a>]</small>
<% end %>
