Sha256: f35e70166f738e479b441e2d91dab6349e6fdc7407954d4855abf03eda1f7131
Contents?: true
Size: 1.09 KB
Versions: 5
Compression:
Stored size: 1.09 KB
Contents
<%- if @user.profile.try(:checkout_icalendar_token?) -%> <%= checkouts_url(icalendar_token: @user.profile.checkout_icalendar_token, format: :ics) -%> <%= hidden_field_tag 'user.profile.checkout_icalendar_token]', @user.profile.checkout_icalendar_token -%> <%- end -%> <br /> <%- if @user.profile.try(:checkout_icalendar_token?) -%> <input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_my_account_path(@user, disable: true, mode: 'feed_token') %>'});" type="button" value="<%= t('page.delete') %>" /> <br /> <%= t('user.you_have_to_save_profile_to_activate_feed_url') -%> <%- else -%> <input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_my_account_path(@user, mode: 'feed_token') %>'});" type="button" value="<%= t('page.reset') %>" /> <br /> <%= t('user.you_have_to_save_profile_to_deactivate_feed_url') -%> <%- end -%>
Version data entries
5 entries across 5 versions & 1 rubygems