Sha256: cefa24054666246c5b1408bad507022a982e443a7306517b8f563adf57166f72
Contents?: true
Size: 827 Bytes
Versions: 13
Compression:
Stored size: 827 Bytes
Contents
= form_for @user do |f| - if @user.errors.any? #errorExplanation %h3= "#{pluralize(@user.errors.count, "error")} prohibited this parent from being saved:" %ul - @user.errors.full_messages.each do |msg| %li= msg - if @user.invitation_token = f.hidden_field :invitation_token .field = f.label :full_name = f.text_field :full_name .field = f.label :username = f.text_field :username .field = f.label :email = f.text_field :email .field = f.label :password = f.password_field :password .field = f.label :password_confirmation = f.password_field :password_confirmation .actions = f.submit "Save" - if @user.persisted? = link_to "Delete", concen_page_path(@user), :method => :delete = link_to "Cancel", concen_pages_path
Version data entries
13 entries across 13 versions & 1 rubygems