Commit 83ea9c87 authored by marcheing's avatar marcheing Committed by Diego de Araújo Martinez Camarinha

Convert shared templates to slim

parent 26a51795
<div class="reveal tiny" id="login-modal" data-reveal>
<h3><%= t('login') %></h3>
<a class="fb-button" href="#">
<i class="fa fa-facebook-square"></i>&nbsp; <%= t('login_using_facebook') %>
</a>
<hr>
<p class="lead"><%= t('or_signin_with_form') %></p>
<form action="" method="get">
<label><%= t('login') %>:
<input class="search-box" type="text" placeholder="">
</label>
<label><%= t('password') %>:
<input class="search-box" type="password" placeholder="">
</label>
<button type="submit" class="button">
<%= t('enter') %>
</button>
</form>
<button class="close-button" data-close aria-label="Close modal" type="button">
<span aria-hidden="true">&times;</span>
</button>
</div>
#login-modal.reveal.tiny[data-reveal]
h3
= t('login')
a.fb-button[href="#"]
i.fa.fa-facebook-square
|  
= t('login_using_facebook')
hr
p.lead
= t('or_signin_with_form')
form[action="" method="get"]
label
= t('login')
| :
input.search-box[type="text" placeholder=""]
label
= t('password')
| :
input.search-box[type="password" placeholder=""]
button.button[type="submit"]
= t('enter')
button.close-button[data-close aria-label="Close modal" type="button"]
span[aria-hidden="true"]
| ×
<% flash.each do |key, value| %>
<div class="alert alert-<%= key %>">
<a href="#" data-dismiss="alert" class="close">×</a>
<ul>
<li>
<%= value %>
</li>
</ul>
</div>
<% end %>
- flash.each do |key, value|
| <div class="alert alert-
= key
| ">
a.close[href="#" data-dismiss="alert"]
| ×
ul
li
= value
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment