Sha256: d062c6c827661851f92029df1ed0736f94bab11f3e83fae8d2a8a2b7e8fac59b

Contents?: true

Size: 475 Bytes

Versions: 11

Compression:

Stored size: 475 Bytes

Contents

- parent_route = @route.parent || BrickLayer::Route.root

- unless @route == BrickLayer::Route.root
  .related-inputs
    %input(type="hidden" name="parent" value="#{parent_route.id}")
    = parent_route.full_path
    = "/" unless parent_route.slug == ""

    = f.input :slug, :label => false, :placeholder => "Slug"

%p= f.input :data_set_template, :collection => collection_of_data_sets, :as => :select, :label => "Data Set Template", :prompt => "--- Choose a Template ---"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
brick_layer-0.10.6 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.10.5 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.10.3 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.10.2 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.10.1 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.10.0 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.9.6 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.9.4 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.9.2 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.9.1 app/views/brick_layer/routes/_form.html.haml
brick_layer-0.9.0 app/views/brick_layer/routes/_form.html.haml