Sha256: 83794a2de67afd16985e3a27803d09fcec7210849c511f0102ca172da2c09c50

Contents?: true

Size: 1.14 KB

Versions: 2

Compression:

Stored size: 1.14 KB

Contents

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

		<div class="container">


<% §∆(CHANGE_HACKY_DUPLICATE_DEFINITION_OF_INSTANCE_VARIABLE, identifier: '@copies-for-copies/index-view', instance_variable: lambda { instance_variable_get(:@copies)} ) do %>
		<%   @copies = 100.times.map { Copy.new } %>
<% end %>
		  <div class="row">
			  <% ❌(CHANGE_HACKY_DUPLICATE_DEFINITION_OF_INSTANCE_VARIABLE, { identifier: '@copies-for-copies/index-view' }, :nil_error_was_here_before_duplicate_definition) do %>
			  
			  	<% @copies_slices = @copies.each_slice(10) %>
			  
  			  <% end %>
			  
			  
		      <% @copies_slices.each do |copies_slice_of_10| %>
			  	
				
				
			  
			<!--- better would be anothere. layer of erb, like .paragraphs, since this doens't work with ruby code flow anymore --->
			  
				
				<% copies_slice_of_10.each do |copy| %>
		    		<div class="col-sm">
        				<input value="<%= copy.text %>" />
		   	 		</div>
				<% end %>

			  <% end %>
			  
		  </div>
		</div>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ezii-browser-1.0.0 server/redux-os/app/views/copies/index.html.erb
mega-os-1.0.0 app/views/copies/index.html.erb