Sha256: a5a015f2966f155b2e5446b76c1fd646d7d15bb2d46e6cedc40e3d66a4ba5803

Contents?: true

Size: 1.55 KB

Versions: 3

Compression:

Stored size: 1.55 KB

Contents

- if defined?(EnjuCirculation)
  .form-group
    = f.label t('user.checkout_history_icalendar_url')
    br
    #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
        br
        |  <input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('
        = form_authenticity_token
        | '), success:function(request){$('#feed_token').html(request);}, type:'get', url:'
        = edit_profile_path(profile, 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_profile_path(profile, disable: true, mode: 'feed_token')
        | '});" type="button" value="
        = t('page.delete')
        | " /> 
    br
- if defined?(EnjuSearchLog)
  .form-group
    .checkbox-inline
      = f.check_box :save_search_history
      = f.label :save_search_history
- if defined?(EnjuCirculation)
  .form-group
    .checkbox-inline
      = f.check_box :save_checkout_history
      = f.label :save_checkout_history
- if current_user.has_role?('Librarian')
  .form-group
    = f.label :note
    br
    = f.text_area :note, class: 'form-control'
.form-group
  = f.submit class: 'btn btn-default'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.3 app/views/profiles/_edit_profile.html.slim
enju_seed-0.3.0.beta.2 app/views/profiles/_edit_profile.html.slim
enju_seed-0.3.0.beta.1 app/views/profiles/_edit_profile.html.slim