Sha256: 378ba6b9244bda7e0278a311600539c5e96f9d121a1e54204ad95c61c9efa90e

Contents?: true

Size: 524 Bytes

Versions: 5

Compression:

Stored size: 524 Bytes

Contents

<%
splitname = name.clone.split(/[\[\]]/)
dotname = splitname.clone.join(".")
lastname = splitname.last
modename = name.gsub(lastname,lastname+"_mode")
modedotname = modename.clone.split(/[\[\]]/).join(".")
slabel ||= label.gsub(":","")
%>
<tr>
	<%=t.td(label,"label")%>
	<td>
		<%=CytoRadio(modename,{"1" => "All Sides","2" => "Horizontal and Vertical","4" => "Side by Side"},Cytoplasm.vars(modedotname))%>
		<%=CytoSlider(name,Cytoplasm.vars(dotname),{:data => {:max => 200,:unit => "px",:label => slabel}})%>
	</td>
</tr>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cytoplasm-0.4.5 app/views/cytoplasm/settings/_spacing_sliders.erb
cytoplasm-0.4.4 app/views/cytoplasm/settings/_spacing_sliders.erb
cytoplasm-0.4.3 app/views/cytoplasm/settings/_spacing_sliders.erb
cytoplasm-0.4.2 app/views/cytoplasm/settings/_spacing_sliders.erb
cytoplasm-0.4.1 app/views/cytoplasm/settings/_spacing_sliders.erb