Sha256: b4159f0da4699cdf8740ec7598990c68724f29c6fb94bdad84635f3c12274a35

Contents?: true

Size: 444 Bytes

Versions: 10

Compression:

Stored size: 444 Bytes

Contents

= simple_form_for [dorsale, Dorsale::Comment.new] do |f|
  = f.hidden_field :commentable_id,   value: commentable.id.to_s
  = f.hidden_field :commentable_type, value: commentable.class.to_s
  
  input.back_url type="hidden" name="back_url"
  javascript:
    $(document).ready(function(){
      $("input.back_url").val(location.href)
    })
  
  = f.input :text, label: false
  
  .center
    input.btn.btn-success type="submit" value="Envoyer"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dorsale-1.2.3 app/views/dorsale/comments/_form.html.slim
dorsale-1.2.2 app/views/dorsale/comments/_form.html.slim
dorsale-1.2.1 app/views/dorsale/comments/_form.html.slim
dorsale-1.2.0 app/views/dorsale/comments/_form.html.slim
dorsale-1.1.4 app/views/dorsale/comments/_form.html.slim
dorsale-1.1.3 app/views/dorsale/comments/_form.html.slim
dorsale-1.1.2 app/views/dorsale/comments/_form.html.slim
dorsale-1.1.1 app/views/dorsale/comments/_form.html.slim
dorsale-1.1.0 app/views/dorsale/comments/_form.html.slim
dorsale-1.0.4 app/views/dorsale/comments/_form.html.slim