comparison app/views/pastes/show.html.erb @ 288:c8757469da39

The magic hash was broken.
author edogawaconan <me@myconan.net>
date Wed, 16 Oct 2013 04:30:49 +0900
parents 77c157a9e645
children 1a409564ffad
comparison
equal deleted inserted replaced
287:77c157a9e645 288:c8757469da39
10 <h1><%= content_for :title %></h1> 10 <h1><%= content_for :title %></h1>
11 </div> 11 </div>
12 12
13 <div id="paste-show" data-id="<%= @paste.id %>"> 13 <div id="paste-show" data-id="<%= @paste.id %>">
14 <ul id="paste-mode" class="nav nav-tabs"> 14 <ul id="paste-mode" class="nav nav-tabs">
15 <li><%= link_to 'Plain', '#pl', :class => "active", :data => { :toggle => 'pill' } %></li> 15 <li class="active"><%= link_to 'Plain', '#pl', :data => { :toggle => 'pill' } %></li>
16 <li><%= link_to 'Highlight', '#hl', :data => { :toggle => 'pill' } %></li> 16 <li><%= link_to 'Highlight', '#hl', :data => { :toggle => 'pill' } %></li>
17 <li><%= link_to 'Markdown', '#md', :data => { :toggle => 'pill' } %></li> 17 <li><%= link_to 'Markdown', '#md', :data => { :toggle => 'pill' } %></li>
18 </ul> 18 </ul>
19 19
20 <div id="paste" class="tab-content"> 20 <div id="paste" class="tab-content">