Sha256: aceb068b68acf560f285dd461d1208c63f5919519e01ac2bf900045aea943453

Contents?: true

Size: 636 Bytes

Versions: 2

Compression:

Stored size: 636 Bytes

Contents

.field.type_text{ 'data-name' => name }
  .label_wrap><= f.label name, name.humanize + ':'
  .value><
    = f.text_field name
    %button.no_styling.generate_slug{:type => 'button', :'data-new_slug_url' => generate_url_releaf_nodes_path(:parent_id => f.object.parent_id, :id => f.object.id), :title => t('.suggest_slug', :rescue_format => false)}><
      = image_tag('releaf/icons/keyboard.png', :alt => t('.suggest_slug', :rescue_format => false))
  .object_url><
    %a{:href => "/#{f.object.url}"}
      = "#{request.protocol}#{request.host_with_port}/#{f.object.parent.try(:url)}/"
      %span><= f.object.slug
      = "/"
  .clear

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
releaf-0.1.2 app/views/releaf/content/_edit.slug.html.haml
releaf-0.1.1 app/views/releaf/content/_edit.slug.haml