Sha256: 4b50013f0e4d2c665e30edb1fd0843c80e70a476e6bdcf0a620dbc6378e36ce4

Contents?: true

Size: 536 Bytes

Versions: 8

Compression:

Stored size: 536 Bytes

Contents

.redditor__title.redditor__title_video
  = t 'redditor.title.video'
= redditor_validate f

- if f.object.youtube.present?
  %iframe(width="#{f.object.width || "100%"}" height="#{f.object.height || 315}" src="http://www.youtube.com/embed/#{f.object.youtube}" frameborder="0" allowfullscreen)
  %br
.line-form
  = f.label :youtube
  %br
  = f.text_field :youtube, class: "video-block-input"
.line-form
  = f.label :width
  %br
  = f.text_field :width, :size => 10
.line-form
  = f.label :height
  %br
  = f.text_field :height, :size => 10

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
redditor-0.1.22 app/views/redditor/admin/_video_block.haml
redditor-0.1.20 app/views/redditor/admin/_video_block.haml
redditor-0.1.17 app/views/redditor/admin/_video_block.haml
redditor-0.1.16 app/views/redditor/admin/_video_block.haml
redditor-0.1.15 app/views/redditor/admin/_video_block.haml
redditor-0.1.14 app/views/redditor/admin/_video_block.haml
redditor-0.1.12 app/views/redditor/admin/_video_block.haml
redditor-0.1.11 app/views/redditor/admin/_video_block.haml