Sha256: 61dadf4319295aec61de8922af5858a4f2cadeb409ac412829c8b3121480c468

Contents?: true

Size: 1.64 KB

Versions: 2

Compression:

Stored size: 1.64 KB

Contents

<div id="accountinfo">
  <form action="/account/info" method="post" enctype="multipart/form-data">
    <input type="hidden" name="id" value="<%= @user.id %>" />
    
    <p><label for="user_username">Username</label><br />
    <%= text_field 'user', 'username' %></p>

    <p><label for="user_name">Name</label><br />
    <%= text_field 'user', 'name' %></p>

    <p><label for="user_title">Journal Title</label><br /><%= text_field('user', 'title') %></p>

    <p><label for="user_subtitle">Journal Subtitle</label><br /><%= text_field('user', 'subtitle') %></p>

    <p><label>Show the &nbsp;
      <%= text_field 'user', 'posts_per_page', :size => 2, :style => 'width: auto' %>
    &nbsp; most recent posts on my user page</label></p>

    <p><label for="user_allows_comments">Allow Commenting?</label>&nbsp;&nbsp;<%= check_box('user', 'allows_comment', 'style' => 'width: auto;') %></p>
    <p><label for="user_password">Password</label><br />
    <input type="password" name="user[password]" id="user_password" size="30" /></p>

    <p><label for="user_password_confirm">Confirm Password</label><br />
    <input type="password" name="user[password_confirmation]" id="user_password_confirm" size="30" /></p>

    <p style="float: left;"><label for="face_picture">Picture</label> 
    <small>will be scaled to 75x75 pixels</small><br /> 
    <input type="hidden" name="MAX_FILE_SIZE" value="<%= @app_config['uploads']['max_face_size'] %>" />
    <input type="file" name="face[picture]" id="face_picture" /></p>
    <p style="float: right;"><%= user_face(@user) %></p>
    <p><input style="width: auto;" type="submit" value="Update Info" /></p>

  <%= end_form_tag %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
EliteJournal-1.9.480 app/views/account/info.rhtml
EliteJournal-1.9.492 app/views/account/info.rhtml