Sha256: 3e2d5fa8d0087bc021a74940a803340fef1032945734c97af6259a324cc98ad0

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

<%= form_for(@user) do |f| %>
  <%= text_form_group f, :name, field_maxlength: '100' %>

  <%= text_form_group f, :email, field_type: 'email' %>

  <%= text_form_group f, :password, field_type: 'password' %>

  <%= text_form_group f, :password_confirmation, field_type: 'password' %>

  <%= @user.new_record? ? add_recaptcha_challenge : '' %>

  <%= f.submit current_user?(@user) ? (@user.new_record? ? 'Create my account' : 'Update my account') : 'Update account', class: 'btn btn-primary' %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
barkest_core-1.5.4.0 app/views/users/_user_form.html.erb
barkest_core-1.5.3.0 app/views/users/_user_form.html.erb