Sha256: 80f6a88c8e508ec72cf581611df7ed89e591045bc407977b55d07b7f3ffb47fd

Contents?: true

Size: 448 Bytes

Versions: 5

Compression:

Stored size: 448 Bytes

Contents

%h1 Create a new context

= form_tag('/data/contexts', method: :post) do # engine controller route not loaded in view tests
  %table
    %tr
      %th Predicate
      %th Object
    - @predicates.each do |predicate|
      %tr
        %td= label_tag("#{predicate[:label]} (#{predicate[:predicate]})")
        %td= text_field_tag('object[]')
        %td= text_field_tag('predicate[]', predicate[:predicate], hidden: true)

  %p= submit_tag('Submit')

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dbd_data_engine-0.0.10 app/views/dbd_data_engine/contexts/new.html.haml
dbd_data_engine-0.0.9 app/views/dbd_data_engine/contexts/new.html.haml
dbd_data_engine-0.0.8 app/views/dbd_data_engine/contexts/new.html.haml
dbd_data_engine-0.0.7 app/views/dbd_data_engine/contexts/new.html.haml
dbd_data_engine-0.0.6 app/views/dbd_data_engine/contexts/new.html.haml