Sha256: 07d8bb51e49ea95154a769dfca2e81e1c3c238fe9dd69d2d33d246b11ad46c21

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

<h1>User Preferences</h1>

<form method="post">
  <table class="fieldset" cellpadding="0" cellspacing="0" border="0">
    <tr>
    	<td class="label"><label for="user_password">Password</label></td>
    	<td class="field"><%= password_field "user", "password", :class => 'textbox', :value => '', :maxlength => 40 %></td>
    	<td class="help" rowspan="2">At least 5 characters. <% unless @user.new_record? %>Leave password blank for it to remain unchanged.<% end %></td>
    </tr>
    <tr>
    	<td class="label"><label for="user_password_confirmation">Confirm Password</label></td>
    	<td class="field"><%= password_field "user", "password_confirmation", :class => 'textbox', :value => '', :maxlength => 40 %></td>
    </tr>
    <tr>
  		<td class="label"><label for="user_email">E-mail</label></td>
  		<td class="field"><%= text_field "user", "email", :class => 'textbox', :maxlength => 255 %></td>
  		<td class="help">Optional.</td>
  	</tr>
  </table>
	<p class="buttons">
		<%= submit_tag 'Save Changes' %> or <%= link_to "Cancel", admin_url %>
	</p>
</form>

<script type="text/javascript">
// <![CDATA[
	Field.focus('user_password');
// ]]>
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-0.5.0 app/views/admin/user/preferences.rhtml