Sha256: 8749d1b19d99c7e67b72998ce913a25812dcfabb7aebe45cdc8e8df33b509fb5
Contents?: true
Size: 1.19 KB
Versions: 3
Compression:
Stored size: 1.19 KB
Contents
.page-header %h1 = link_to 'Get the Gem!', '#', :class => 'btn btn-success pull-right' Polygallery Demonstrations - flash.each do |name, msg| = content_tag :div, :class => "alert alert-#{name == :error ? "danger" : "success" } alert-dismissable", :style => 'margin-top:20px;' do %button.close{:type => "button", :data => {:dismiss => "alert"}, :aria => {:hidden => "true"} } × = msg .row .col-md-6 .panel.panel-default .panel-body %h2.lead New Event (with SimpleForm) %hr = simple_form_for @event, :url => events_path, :method => :post, :multipart => true do |f| = f.error_notification = f.input :title, :autofocus => true = simple_fields_for_polygallery :gallery, f = f.submit :class => 'btn btn-success btn-lg btn-block' .col-md-6 .panel.panel-default .panel-body %h2.lead New Event (without SimpleForm) %hr = form_for @event do |f| .form-group %label.control-label Title .controls= f.text_field :title, :class => 'form-control' = fields_for_polygallery :gallery, f = f.submit :class => 'btn btn-success btn-lg btn-block'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
polygallery-0.0.8 | test/dummy/app/views/home/index.html.haml |
polygallery-0.0.7 | test/dummy/app/views/home/index.html.haml |
polygallery-0.0.6 | test/dummy/app/views/home/index.html.haml |