Sha256: 2bafd42001a45e7395ba07069c65e1fb83b0de7c848b30ca709879efa9a1fd7b
Contents?: true
Size: 1.01 KB
Versions: 5
Compression:
Stored size: 1.01 KB
Contents
<table class="fields"> <tr> <th><%= sectionable_form.t :media %></th> <td><%= image_browser(sectionable_form, :media, {:skip_class => true}) %></td> </tr> <tr> <th><%= sectionable_form.t :link %></th> <td><%= link_browser(sectionable_form, :link, {:skip_class => true}) %></td> </tr> <tr> <th><%= sectionable_form.label_with_text :alignment %></th> <td> <%= sectionable_form.select :alignment, Skyline::Sections::MediaSection::ALIGNMENT.map{|a| [t(a,:scope => [:activerecord, :attributes, :"skyline/sections/media_section", :alignments]),a]}, :class => "full"%></td> </tr> <tr> <th><%= sectionable_form.label_with_text :dimension %></th> <td> <%= sectionable_form.text_field :width, :class => "number" %> x <%= sectionable_form.text_field :height, :class => "number" %> </td> </tr> <tr> <th><%= sectionable_form.label_with_text :caption %></th> <td><%= sectionable_form.text_field :caption, :class => "full" %></td> </tr> </table>
Version data entries
5 entries across 5 versions & 2 rubygems