Sha256: 3d196cabaf0369f52fa95ad6307982b5005221e8e1b1b1a33603cc74319747f4
Contents?: true
Size: 1.53 KB
Versions: 5
Compression:
Stored size: 1.53 KB
Contents
-# -# ish_manager / galleries / _form -# - url ||= galleries_path = form_for gallery, :url => url do |f| .row .col.s6 = f.label :name = f.text_field :name .col.s6 = f.label :slug = f.text_field :slug .row .col.s4 = f.label :site = select :gallery, :site_id, @sites_list .col.s4 = f.label :city = select :gallery, :city_id, @cities_list .col.s4 = f.label :venue = select :gallery, :venue_id, @venues_list .row .col.s4 = f.label :tags = f.select :tag_ids, @tags_list, {}, { multiple: true } .row .panel .panel-body .col.s4 = f.label 'Shared with' = f.select :shared_profiles, options_for_select( [[nil,nil,:disabled=>true]]+current_user.profile.friends.map { |f| [ f.email, f.id ] }, :selected => gallery.shared_profiles.map(&:id) ), {}, { :multiple => true } .col.s4 Shared with:<br /> - gallery.shared_profiles.each do |p| > #{p.email} <br /> .col.s4 "/ .row = f.label :subhead = f.text_area :subhead .row = f.text_area :descr, class: :tinymce .row .col.s3 = f.check_box :is_public = f.label :is_public .col.s3 = f.check_box :is_trash = f.label :is_trash .col.s3 = f.check_box :is_done = f.label :is_done .col.s3 = f.label :premium_tier = f.number_field :premium_tier .col.s3 = f.label :username = f.text_field :username .col.s3 = f.submit 'Submit'
Version data entries
5 entries across 5 versions & 1 rubygems