Sha256: c444343b20093faa3ac7d84e768eb3382d244df1483b6c65ed260698669a6be6
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
%h1 Settings %h2 Shares %form{:method => 'POST', :action => '/settings'} -conf.shares.each_with_index do |share, idx| %div{:id => "share-#{idx}", :class => "share #{idx % 2 == 0 ? 'even' : 'odd'}"} %dl %dt Path %dd %input{:name=>"share[#{idx}][path]", :value => share.path} %dl %dt Polling interval %dd %input{:name=>"share[#{idx}][polling_interval]", :value => share.polling_interval} %dl %dt Remote %dd %input{:name=>"share[#{idx}][remote_name]", :value => share.remote_name} %dl %dt Branch %dd %input{:name=>"share[#{idx}][branch_name]", :value => share.branch_name} %dl %dt Notifications? %dd %input{:type =>'hidden', :value => '0', :name=>"share[#{idx}][notification]"} %input{:type =>'checkbox', :value => '1', :name=>"share[#{idx}][notification]", :checked => share.notification ? 'checked' : nil} %dl.delete %dt Delete %dd %input{:type =>'button', :value => "Delete"} %input{:type =>'hidden', :name=>"share[#{idx}][delete]"} %input{:value => 'Save', :type => 'submit'}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gitdocs-0.3.0 | lib/gitdocs/views/settings.haml |