Sha256: 774b05ab349d0e80f1c6c34a041f0d08a5b585e6b5cc0aff64f7696c0819692b

Contents?: true

Size: 1.32 KB

Versions: 7

Compression:

Stored size: 1.32 KB

Contents

<div class="page-header">
  <h1>Passwort setzen</h1>
</div>

<% unless resource.errors.empty? %>
    <div class="alert alert-danger">
      <ul>
      <% resource.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
<% end %>

<div class="panel panel-default">
  <div class="panel-body">
    <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f| %>
      <%= f.hidden_field :reset_password_token %>

      <div class="form-group">
        <%= f.label :password, "Passwort", :class => 'col-sm-2 control-label' %>
        <div class="col-sm-8">
          <%= f.password_field :password, :class => 'form-control' %>
        </div>
      </div>

      <div class="form-group">
        <%= f.label :password_confirmation, "Passwortbestätigung", :class => 'col-sm-2 control-label' %>
        <div class="col-sm-8">
          <%= f.password_field :password_confirmation, :class => 'form-control' %>
        </div>
      </div>

      <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
          <%= f.submit "Passwort setzen", :class => 'btn btn-primary' %>
        </div>
      </div>

      <hr/>

      <%= render :partial => "devise/shared/links" %>

    <% end %>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gb_mapfish_appserver-2.0.0 app/views/devise/passwords/edit.html.erb
gb_mapfish_appserver-1.1.1 app/views/devise/passwords/edit.html.erb
gb_mapfish_appserver-1.1.0 app/views/devise/passwords/edit.html.erb
gb_mapfish_appserver-1.0.6 app/views/devise/passwords/edit.html.erb
gb_mapfish_appserver-1.0.5 app/views/devise/passwords/edit.html.erb
gb_mapfish_appserver-1.0.4 app/views/devise/passwords/edit.html.erb
gb_mapfish_appserver-1.0.3 app/views/devise/passwords/edit.html.erb