comparison app/views/pastes/show.html.erb @ 287:77c157a9e645

Fix hash magic links.
author edogawaconan <me@myconan.net>
date Wed, 16 Oct 2013 04:17:42 +0900
parents 6cca1ab53337
children c8757469da39
comparison
equal deleted inserted replaced
286:08dfa1a4fe4e 287:77c157a9e645
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', :data => { :toggle => 'pill' } %></li> 15 <li><%= link_to 'Plain', '#pl', :class => "active", :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">