Sha256: c40e2b2a3139199981bf1b8fdada68a6642753ef8277e0652d22efe75ca93f22

Contents?: true

Size: 1.13 KB

Versions: 24

Compression:

Stored size: 1.13 KB

Contents


<div class="pull-left">
	<!-- <img src="img/demo/locked.jpg" alt="" width="200" height="200"> -->
	<%= image_tag(my_admin_user.photo.url(:my_admin)) %>
	<%= link_to "Não é #{my_admin_user.full_name}?", send("#{admin_prefix}_sessions_path")%>
	
</div>
<div class="right">
	
	<% if flash[:error] %>
	  <div class="alert alert-error">
			<button class="close" data-dismiss="alert" type="button">×</button>
			<!-- <strong>Por favor, verifique os seguintes campos:</strong> -->
			<%= raw [flash[:error]].flatten.map {|note| "#{h(note)}" }.join( '<br />' ) %>
	  </div>
	<% end %>
	
	<div class="upper">
		<h2><%= my_admin_user.full_name %></h2>
		<span>Bloqueado</span>
	</div>
	<%= form_for(:session, {:url => send("open_#{admin_prefix}_sessions_path"), :html => {:class => "form-validate", :id => "login"}}) do |f| %>
		<div class="control-group">
			<div class="controls">
				<%= f.password_field :password, {:class => "input-block-level", :placeholder => I18n.t('my_admin.labels.session.password'), 'data-rule-required' => true } %>
			</div>
		</div>
		
		<div>
			<%= f.submit "Desbloquear", :class => "btn btn-inverse" %>
		</div>
	<% end %>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
my_admin-0.1.13 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.12 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.11 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.10 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.9 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.8 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.7 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.6 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.5 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.4 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.3 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.2 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.1.1 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.0.12 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.0.11 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.0.10 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.0.9 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.0.8 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.0.7 app/views/my_admin/sessions/unlock.html.erb
my_admin-0.0.6 app/views/my_admin/sessions/unlock.html.erb