Mercurial > zeropaste
view app/views/pastes/new.html.erb @ 384:7ba798dee39d
No need to assign to variable when it can be just chained.
author | nanaya <me@myconan.net> |
---|---|
date | Sun, 07 Jun 2015 02:59:29 +0900 |
parents | 2ad092e60975 |
children | 62fef621f39c |
line wrap: on
line source
<% provide :title, 'New Paste' %> <% if notice %> <div class="alert alert-info"> <strong>Info:</strong> <%= notice %> </div> <% end %> <% if alert %> <div class="alert alert-danger"> <strong>Error:</strong> <%= alert %> </div> <% end %> <%= render 'form' %>