comparison app/views/pastes/show.html.erb @ 112:2b1041e8c35e

Allows parameter-based width passing. Requires switching to .search.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 13:01:31 +0700
parents a949b71c9afb
children b72f99d7b8cf
comparison
equal deleted inserted replaced
111:a92e732a2caa 112:2b1041e8c35e
22 <li><a href="#" data-size="960px">960px</a></li> 22 <li><a href="#" data-size="960px">960px</a></li>
23 </ul> 23 </ul>
24 </div> 24 </div>
25 </li> 25 </li>
26 </ul> 26 </ul>
27 <div id="paste" class="tab-content"> 27 <div id="paste" data-width="0" class="tab-content">
28 <div class="tab-pane active" id="plain"> 28 <div class="tab-pane active" id="plain">
29 <pre><%= @paste.paste %></pre> 29 <pre><%= @paste.paste %></pre>
30 </div> 30 </div>
31 <div class="tab-pane" id="highlight"> 31 <div class="tab-pane" id="highlight">
32 <pre class="prettyprint linenums"></pre> 32 <pre class="prettyprint linenums"></pre>