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