<div class="page-header">
  <h1>Nové prihlásenie</h1>
</div>

<% if flash[:alert] %>
	<p id="notice"><%= flash[:alert] %></p>
<% end %>

<%= form_tag prihlasit_path do %>

<fieldset>
	<legend>Prihláste sa prosím</legend>

<div class="control-group">
  <%= label :Login_IS_Ucet, 'Login', :class => 'control-label' %>
  <div class="controls">
    <%= text_field :Login_IS_Ucet, params[:Login_IS_Ucet], :class => 'text_field' %>
  </div>
</div>
<div class="control-group">
  <%= label :password, 'Heslo', :class => 'control-label' %>
  <div class="controls">
    <%= password_field :password, params[:password], :class => 'text_field' %>
  </div>

  <div class="form-actions">
    <%= submit_tag 'Prihlásiť', :class => 'btn btn-primary' %>
  	<%= link_to 'Prejsť na verejné stránky',
              stranky_path, :class => 'btn'  %>

  </div>
</div>

<% end %>