Sha256: 7998c5776fd8f3b2f9911f2574a0ec5e1b9ddc0c25340638eb4c82fdc3cc9413
Contents?: true
Size: 1.01 KB
Versions: 112
Compression:
Stored size: 1.01 KB
Contents
<div class="user_edit"> <%= hidden_field 'user', 'form', :value => 'edit' %> <table> <tr class="two_columns"> <td class="prompt"><label>First Name:</label></td> <td class="value"><%= text_field 'user', 'first_name' %></td> </tr> <tr class="two_columns"> <td class="prompt"><label>Last Name:</label></td> <td class="value"><%= text_field 'user', 'last_name' %></td> </tr> <tr class="two_columns"> <td class="prompt"><label>Login:</label></td> <td class="value"> <%= @user.new_record? ? text_field( 'user', 'login' ) : @user.login %> </td> </tr> <tr class="two_columns"> <td class="prompt"><label>Email:</label></td> <td class="value"><%= text_field 'user', 'email' %></td> </tr> <% if submit %> <tr> <td colspan="2"> <%= submit_tag user.new_record? ? 'signup' : l(:save), :class => 'two_columns' %> <%= back_or_link_to l(:back), :action => 'list' %> </td> </tr> <% end %> </table> </div>
Version data entries
112 entries across 112 versions & 1 rubygems