Sha256: 2dbe50698b491957b9897c4578ee9f48fcf54f8d215ac79ede059831da0d0aeb

Contents?: true

Size: 839 Bytes

Versions: 3

Compression:

Stored size: 839 Bytes

Contents

.customer_vault
  - content_for :sub_header do
    ol.breadcrumb
      li
        = link_to 'Home', '/'
      li
        = link_to 'People', customer_vault.people_path
      li
        = link_to "#{@person.name}", [customer_vault, @person]
      li
        = @link.title
      li.active
        = "Edit "

  - content_for :context do
    = render partial: "customer_vault/people/show_details", locals: {person: @person}

  - content_for :main do
    .well
      = horizontal_form_for [customer_vault, @person, @link] do |f|
        - if @person == @link.bob
          = f.input :alice, input_html: {value: @link.alice.name}, disabled: true, label: "Person"
        - else
          = f.input :bob, input_html: {value: @link.bob.name}, disabled: true, label: "Person"

        = f.input :title
        = form_buttons

  = render_contextual

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
customer_vault-1.2.8 app/views/customer_vault/links/edit.html.slim
customer_vault-1.2.7 app/views/customer_vault/links/edit.html.slim
customer_vault-1.2.6 app/views/customer_vault/links/edit.html.slim