Sha256: f2481c83d0bef5d5d0ae742427d0264fe5fe90a56f43418a5b0c83d4f9bcc393

Contents?: true

Size: 1 KB

Versions: 3

Compression:

Stored size: 1 KB

Contents

%div.deceased_modal.modal.fade
  - workflow = Workflow.find_by_name('Todesfall')
  - workflow || raise('mark-as-deceased workflow missing. Please call "Workflow.find_or_create_mark_as_deceased_workflow".')
  = form_tag(workflow_kit.execute_workflow_path(workflow), {:method => :put, :class => 'deceased_modal_date_of_death'}) do

    .modal-dialog
      .modal-content
        %div.modal-header
          %a.close{data: {dismiss: 'modal'}, 'aria-label' => 'Close'}
            %span{'aria-hidden' => true} ×
          %h4= "✟ #{I18n.t(:event_of_death)}"
        %div.modal-body
          = hidden_field_tag :user_id, @user.id
          %table
            %tr
              %td=t :person
              %td= @user.title
            %tr
              %td
                %label=t :date_of_death
              %td
                = text_field_tag :localized_date_of_death, localize(Time.zone.now.to_date)
        %div.modal-footer
          = submit_tag(I18n.t(:confirm), :class => 'btn btn-primary confirm_event_of_death')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 app/views/users/_deceased_modal.html.haml
your_platform-1.0.0 app/views/users/_deceased_modal.html.haml
your_platform-0.0.2 app/views/users/_deceased_modal.html.haml