comparison app/views/pastes/show.html.erb @ 114:b72f99d7b8cf

Dynamic url based on options selected. Yes, I'm having too much fun.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 13:31:18 +0700
parents 2b1041e8c35e
children 546381cf83c2
comparison
equal deleted inserted replaced
113:c24b17044ad1 114:b72f99d7b8cf
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" data-width="0" class="tab-content"> 27 <div id="paste" data-mode="plain" data-width="full" 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>