Sha256: badb077f5bca735dc0237a52911da9fe8ae91b86c8d6a8924c889f57788890b9
Contents?: true
Size: 520 Bytes
Versions: 5
Compression:
Stored size: 520 Bytes
Contents
- content_for :head do = javascript_include_tag 'avatar', 'data-turbolinks-track': 'reload' .user-avatar label for="add-user-avatar" class="add-avatar" span id="user-avatar" - if @avatar.nil? = image_tag 'svg/add-avatar.svg', class: 'user-avatar__img', id: 'state-img' - else = image_tag @avatar.uploaded_file.url(:default), class: 'user-avatar__img img-present', id: 'state-img' input type="file" class="avatar-input" id="add-user-avatar" name="add-user-avatar" accept="image/*"
Version data entries
5 entries across 5 versions & 1 rubygems