Sha256: 2fbf9dae6433c31cf9632622a4e017551bc7d56fbb920cfe8c44982971813784
Contents?: true
Size: 825 Bytes
Versions: 2
Compression:
Stored size: 825 Bytes
Contents
= form_for [@block, @layer], html: {class: 'form-horizontal'} do |f| %fieldset %legend= caption - if @layer.errors.any? #error_explanation %h2= "#{pluralize(@layer.errors.count, "error")} prohibited this layer from being saved:" %ul - @layer.errors.full_messages.each do |msg| %li= msg = render partial: 'flms/layers/common_fields', locals: { form_block: f } %fieldset %legend Embed .control-group = f.label :embed_code, class: 'control-label' .controls = f.text_area :embed_code = render partial: 'flms/layers/keyframe_fields', locals: { form_block: f } .control-group .controls .actions = f.submit class: 'btn btn-primary' = link_to 'Cancel', edit_block_path(@block)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flms-0.9.0 | app/views/flms/embed_layers/_form.html.haml |
flms-0.1.0 | app/views/flms/embed_layers/_form.html.haml |