Mercurial > zeropaste
comparison app/views/pastes/new.html.erb @ 190:d4682cea8e58
Fun with alerts.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sat, 23 Feb 2013 14:31:34 +0900 |
parents | b1a816ff0d91 |
children | 6cca1ab53337 |
comparison
equal
deleted
inserted
replaced
189:b4b7a29b70f6 | 190:d4682cea8e58 |
---|---|
1 <% provide :title, 'New Paste' %> | 1 <% provide :title, 'New Paste' %> |
2 | |
3 <% if flash[:notice] %> | |
4 <div class="alert alert-info"> | |
5 <%= flash[:notice] %> | |
6 </div> | |
7 <% end %> | |
8 | |
2 <div class="page-header"> | 9 <div class="page-header"> |
3 <h1>New Paste</h1> | 10 <h1>New Paste</h1> |
4 </div> | 11 </div> |
5 | 12 |
6 <%= render 'form' %> | 13 <%= render 'form' %> |