Sha256: 57e427e17f41a5d9aee07695673378a7dde30fb37aca8105d63136885dba9004
Contents?: true
Size: 946 Bytes
Versions: 1
Compression:
Stored size: 946 Bytes
Contents
<%= formula_form_for @contact do |form| %> <%= form.input :name, :container => { :class => 'grid-12' }, :hint => "first and last name" %> <%= form.input :details, :container => { :class => 'grid-12' }, :hint => "a detailed description" %> <%= form.input :email, :container => { :class => 'grid-06' }, :hint => "sample@example.com" %> <%= form.input :phone, :container => { :class => 'grid-06' }, :hint => "+01 (555) 555-5555" %> <%= form.input :url, :label => "Website", :container => { :class => 'grid-12' }, :hint => "http://example.com/" %> <%= form.input :avatar, :container => { :class => 'grid-12' } %> <%= form.association :group, Group.all, :id, :name, :container => { :class => 'grid-12' }, :association => { :prompt => "-- Group --", :html => { :class => 'group' } } %> <%= form.input :secret, :as => :hidden %> <%= form.button 'Save', :container => { :class => 'grid-12' } %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formula-0.3.5 | test/dummy/app/views/contacts/_form.html.erb |