Sha256: fc83db61f474809da763033a9e3a24f76392e731c6d89bf3306e78e5ea21a2fa

Contents?: true

Size: 386 Bytes

Versions: 24

Compression:

Stored size: 386 Bytes

Contents

module ProfileHelper
  def edit_profile_button
    link_to t(:edit_profile), :edit_user, class: 'btn btn-success'
  end

  def cancel_edit_profile_button
    link_to t(:cancel), :user, class: 'btn btn-default' if current_user.profile_completed?
  end

  def save_edit_profile_button(form)
    form.submit t(:save), disabled: true, class: 'btn btn-success mu-edit-profile-btn'
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
mumuki-laboratory-9.0.6 app/helpers/profile_helper.rb
mumuki-laboratory-9.0.5 app/helpers/profile_helper.rb
mumuki-laboratory-9.0.4 app/helpers/profile_helper.rb
mumuki-laboratory-9.0.3 app/helpers/profile_helper.rb
mumuki-laboratory-9.0.2 app/helpers/profile_helper.rb
mumuki-laboratory-9.0.1 app/helpers/profile_helper.rb
mumuki-laboratory-9.0.0 app/helpers/profile_helper.rb
mumuki-laboratory-8.6.1 app/helpers/profile_helper.rb
mumuki-laboratory-8.6.0 app/helpers/profile_helper.rb
mumuki-laboratory-8.5.0 app/helpers/profile_helper.rb
mumuki-laboratory-8.4.0 app/helpers/profile_helper.rb
mumuki-laboratory-8.3.0 app/helpers/profile_helper.rb
mumuki-laboratory-8.2.1 app/helpers/profile_helper.rb
mumuki-laboratory-8.2.0 app/helpers/profile_helper.rb
mumuki-laboratory-8.1.3 app/helpers/profile_helper.rb
mumuki-laboratory-8.1.2 app/helpers/profile_helper.rb
mumuki-laboratory-8.1.1 app/helpers/profile_helper.rb
mumuki-laboratory-8.1.0 app/helpers/profile_helper.rb
mumuki-laboratory-7.12.3 app/helpers/profile_helper.rb
mumuki-laboratory-8.0.0 app/helpers/profile_helper.rb