Sha256: 5a8b8b7aa419e8bd2f4651659c6493a140e745b7cc5c015370e0e5ad5dd8e9d2
Contents?: true
Size: 550 Bytes
Versions: 12
Compression:
Stored size: 550 Bytes
Contents
= effective_form_with(model: [:admin, learndash_user], engine: true) do |f| - if f.object.new_record? = f.select :owner, {'Owners' => current_user.class.sorted }, polymorphic: true, hint: 'Create a LearnDash account for this user' = f.submit - if f.object.persisted? = f.text_field :password, label: 'New Password', value: EffectiveLearndash.wp_password_for(learndash_user.owner) %p.text-muted This action will also update the LearnDash LMS wordpress user account password. = f.submit 'Update Password'
Version data entries
12 entries across 12 versions & 1 rubygems