Sha256: 17cfa19c68d58a4ec6bf3fe2cc1d12b674ddf0390beb9128c2b7025cf94942ba
Contents?: true
Size: 1.22 KB
Versions: 3
Compression:
Stored size: 1.22 KB
Contents
<% form_tag '/simple', :class => 'simple-form' do %> <%= error_messages_for(nil) %> <% field_set_tag do %> <%= label_tag :username %> <%= text_field_tag :username %> <%= label_tag :password %> <%= password_field_tag :password %> <%= submit_tag %> <% end %> <% end %> <% form_tag '/advanced', :id => 'advanced', :class => 'advanced-form', :method => 'get' do %> <%= error_messages_for MarkupUser.new, :header_message => "There are problems with saving user!" %> <% field_set_tag "Advanced", :class => 'advanced-field-set' do %> <p> <%= label_tag :username, :class => 'first', :caption => "Nickname" %> <%= text_field_tag :username, :value => params[:username], :id => 'the_username' %> </p> <p> <%= label_tag :password, :class => 'first' %> <%= password_field_tag :password, :value => params[:password] %> </p> <p> <%= label_tag :about, :class => 'about', :caption => "About Me" %> <%= text_area_tag :about, :class => 'large' %> </p> <p> <%= label_tag :photo, :class => 'photo' %> <%= file_field_tag :photo, :class => 'upload' %> </p> <% end %> <% field_set_tag(:class => 'buttons') do %> <%= submit_tag "Login" %> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems