Sha256: 0562d86898242780eb4f0ba15e590fee4a7a06db127625157524a01b89e28837
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
<%= form_for(@user) do |f| %> <% if @user.errors.any? %> <p><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</p> <ul> <% @user.errors.each do |attribute, message| %> <li><%= "#{attribute} : #{message}" %></li> <% end %> </ul> <% end %> <div class="field"> <%= f.label :name, "Name:" %><br /> <%= f.text_field :name %> </div> <div class="field"> <%= f.label :email, "Email:" %><br /> <%= f.text_field :email %> </div> <div class="field"> <%= f.check_box :fb_share %> <%= f.label :fb_share, "FB Share" %> </div> <div class="field"> <%= f.check_box :tw_share %> <%= f.label :tw_share, "TW Share" %> </div> <div class="field"> <%= f.radio_button :tb_share, true %> <%= f.label :tb_share_true, "Enable Tumblr Share" %> </div> <div class="field"> <%= f.radio_button :tb_share, false %> <%= f.label :tb_share_false, "Disable Tumblr Share" %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
serializer-0.0.6 | test/dummy/app/views/users/_form.html.erb |