Sha256: 7673500f3152c12764ee88fdbf032f19853540c42251c9ed31f57a285a529647

Contents?: true

Size: 1.69 KB

Versions: 8

Compression:

Stored size: 1.69 KB

Contents

  <% if defined?(EnjuCirculation) %>
    <div class="field">
      <%= f.label t('user.checkout_history_icalendar_url') -%><br />
      <div id="feed_token">
        <%- if profile.checkout_icalendar_token? -%>
          <%= link_to checkouts_url(icalendar_token: profile.checkout_icalendar_token, format: :ics), checkouts_url(icalendar_token: profile.checkout_icalendar_token, format: :ics) -%>
          <%= f.hidden_field :checkout_icalendar_token -%>
        <%- end -%>
        <br />
        <input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_my_account_path(mode: 'feed_token') %>'});" type="button" value="<%= t('page.reset') %>" />
        <input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_my_account_path(disable: true, mode: 'feed_token') %>'});" type="button" value="<%= t('page.delete') %>" />
      </div>
      <br />
    </div>
  <% end %>

  <% if defined?(EnjuSearchLog) %>
    <div class="field">
      <%= f.label :save_search_history %>
      <%= f.check_box :save_search_history %>
    </div>
  <% end %>

  <% if defined?(EnjuCirculation) %>
    <div class="field">
      <%= f.label :save_checkout_history %>
      <%= f.check_box :save_checkout_history %>
    </div>
  <% end %>

  <% if current_user.has_role?('Librarian') %>
    <div class="field">
      <%= f.label :note -%><br />
      <%= f.text_area :note, class: 'resource_textarea' -%>
    </div>
  <% end %>

  <div class="actions">
    <%= f.submit %>
  </div>


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc20 app/views/profiles/_edit_profile.html.erb
enju_leaf-1.1.0.rc19 app/views/profiles/_edit_profile.html.erb
enju_leaf-1.1.0.rc18 app/views/profiles/_edit_profile.html.erb
enju_leaf-1.1.0.rc17 app/views/profiles/_edit_profile.html.erb
enju_leaf-1.1.0.rc16 app/views/profiles/_edit_profile.html.erb
enju_leaf-1.1.0.rc15 app/views/profiles/_edit_profile.html.erb
enju_leaf-1.1.0.rc14 app/views/profiles/_edit_profile.html.erb
enju_leaf-1.1.0.rc13 app/views/profiles/_edit_profile.html.erb