Sha256: 6db6c07b4e0fae048ce5ffcf346aa112fd9c04ac7c570dd625880e30b083e2d3

Contents?: true

Size: 1.54 KB

Versions: 24

Compression:

Stored size: 1.54 KB

Contents

%node-form{ node: node_hash(@node).to_json, :'inline-template' => true }
  = form_for @node, url: url do |f|
    .large-8.columns
      .container
        .head
          .left.btn= link_to ficon(:previous), node_back_link(@node)
          .title= yield :title
        .body.padded
          .row.title
            .columns
              = f.label :title
              = f.text_field :title, :'v-model' => 'node.title', :'v-on:keyup' => 'setSlug'
          .row.permalink
            .columns{ :'v-bind:class' => '{visible: node.slug}' }
              %span.key Permalink
              %span.value
                %span.show-for-medium-up http://#{ request.host_with_port }/
                = content_tag :span, @node.parent.permalink+'/' if @node.parent
                %span {{ node.slug }}
              %button.button.tiny.radius.secondary{ data: { dropdown: 'slug-field' } } Edit
              #slug-field.f-dropdown.content{ data: { dropdown: { content: true } } }
                = f.label :slug
                = f.text_field :slug, :'v-model' => 'node.slug'
              - if @node.errors.include? :slug
                .error-icon= ficon :info, 'Error'

          .row.custom-fields
            - @node.fields.each do |key, field|
              %div{ class: field_classes(field) }
                = f.label field.name, field.label
                = render_field field, f

    .large-4.columns
      .side-panel{ :'v-side-panel' => true }
        .padded
          = render 'meta_table', f: f
        .submit.text-center
          = render 'form_submit', f: f

      

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
push_type_admin-0.11.1 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.11.0.beta.2 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.11.0.beta.1 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.10.4 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.10.3 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.10.2 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.10.1 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.10.0 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.10.0.beta.5 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.10.0.beta.3 app/views/push_type/admin/nodes/_form_fields.html.haml
push_type_admin-0.9.5 app/views/push_type/nodes/_form_fields.html.haml
push_type_admin-0.9.3 app/views/push_type/nodes/_form_fields.html.haml
push_type_admin-0.9.2 app/views/push_type/nodes/_form_fields.html.haml
push_type_admin-0.9.1 app/views/push_type/nodes/_form_fields.html.haml
push_type_admin-0.9.0 app/views/push_type/nodes/_form_fields.html.haml
push_type_admin-0.9.0.beta.4 app/views/push_type/nodes/_form_fields.html.haml
push_type_admin-0.9.0.beta.3 app/views/push_type/nodes/_form_fields.html.haml
push_type_admin-0.9.0.beta.2 app/views/push_type/nodes/_form_fields.html.haml
push_type_admin-0.8.2 app/views/push_type/nodes/_form_fields.html.haml
push_type_admin-0.8.1 app/views/push_type/nodes/_form_fields.html.haml