Sha256: 1972e20044c5d619d0e684fa0d2fec1083346513a6e2eddc0bfe085293d36c62
Contents?: true
Size: 974 Bytes
Versions: 8
Compression:
Stored size: 974 Bytes
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> <%= submit_tag user.new_record? ? 'signup' : 'change_settings', :class => 'two_columns' %> </td> </tr> <% end %> </table> </div>
Version data entries
8 entries across 8 versions & 1 rubygems