Sha256: 1f89c93eeca3a02d9bc3a5710c848f0c399d2d048d0b1f1cc0f696b80eca2ed5

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

<%#
  # WebROaR - Ruby Application Server - http://webroar.in/
  # Copyright (C) 2009  Goonj LLC
  #
  # This file is part of WebROaR.
  #
  # WebROaR is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 3 of the License, or
  # (at your option) any later version.
  #
  # WebROaR is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with WebROaR.  If not, see <http://www.gnu.org/licenses/>.
  #%>


    <br/>
    <div id = "page_name"><%=image_tag("title_settings_15_06_2011.gif", :border => '0')%></div>
    <br/><br/>
    <%= form_for :password, :url => {:action => 'change_password'}, :html => { :onsubmit => 'return validate_password(this)'} do%>
      <table width = 50% align='center'>
        <tr>
          <th colspan = 2 >Change Password</th>
        </tr>
        <tr>
          <td colspan = 2 id = 'error_div' style="padding:0px;"><%if(flash[:notice])%><%=flash[:notice]%><%end%></td>
        </tr>
        <tr>
          <td  width = 50% >Old Password<span id = 'needed'>*</span></td>
          <td ><%=password_field :password, :old, :size => 20, :value => ""%></td>
        </tr>
        <tr>
          <td >New Password<span id = 'needed'>*</span></td>
          <td ><%=password_field :password, :new, :size => 20%></td>
        </tr>
        <tr>
          <td >Confirm Password<span id = 'needed'>*</span></td>
          <td ><%=password_field :password, :confirm, :size => 20%></td>
        </tr>
        <tr>
          <td colspan = 2 style="text-align:center;"><%=submit_tag 'Save'%></td>
        </tr>
      </table>
    <%end%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webroar-0.7.0 src/admin_panel/app/views/admin/change_password_form.html.erb