Sha256: d18b7d9a43aea698925d512e2f7dba4cbc9702a296cf0f8126a63d5ae5cfa5a0

Contents?: true

Size: 767 Bytes

Versions: 13

Compression:

Stored size: 767 Bytes

Contents

.row
  .span12
    .control-group.title
      = f.label :title, :class => 'control-label'
      .controls
        = f.text_field :title, :class => "input-xlarge span5"
        span.help-inline.title

.row
  .control-group.body
    .span12
      = label_tag 'post_body', 'Body', class: 'control-label'
    .controls.span5
      = f.text_area :body, :class => "span5", :rows => 20
      span.help-inline= link_to 'Markdown syntax', 'http://daringfireball.net/projects/markdown/syntax', target: '_BLANK'

    #post-preview.span7
      .inner

.row.form-box
  .span5
    #uploader
      .inner Drop images...

  .span7#assets
    - f.object.assets.each do |asset|
      .asset= "![image alt](#{asset.attachment_url})"

coffee:
  $ ->
    new Crowdblog.Views.PostFormView

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
crowdblog-0.6.2 app/views/crowdblog/admin/posts/_form.html.slim
crowdblog-0.6.0 app/views/crowdblog/admin/posts/_form.html.slim
crowdblog-0.5.0 app/views/crowdblog/admin/posts/_form.html.slim
crowdblog-0.3.3 app/views/crowdblog/admin/posts/_form.html.slim
crowdblog-0.4.0 app/views/crowdblog/admin/posts/_form.html.slim
crowdblog-0.3.2 app/views/crowdblog/admin/posts/_form.html.slim
crowdblog-0.3.1 app/views/crowdblog/admin/posts/_form.html.slim
crowdblog-0.3.0 app/views/crowdblog/admin/posts/_form.html.slim
crowdblog-0.2.0 app/views/crowdblog/admin/posts/_form.html.slim
crowdblog-0.1.3 app/views/crowdblog/posts/_form.html.slim
crowdblog-0.1.2 app/views/crowdblog/posts/_form.html.slim
crowdblog-0.1.1 app/views/crowdblog/posts/_form.html.slim
crowdblog-0.1.0 app/views/crowdblog/posts/_form.html.slim