rails 3 fixes
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<p>
|
||||
<%= error_messages_for 'user' %><br/>
|
||||
|
||||
<% form_tag :action => 'change_password' do %>
|
||||
<%= form_tag :action => 'change_password' do %>
|
||||
|
||||
<label for="user_password">Nova senha</label><br/>
|
||||
<%= password_field "user", "password", :size => 20, :value=>"" %><br/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<p>
|
||||
<%= error_messages_for 'user' %><br/>
|
||||
|
||||
<% form_tag :action => 'update', :id => @user do %>
|
||||
<%= form_tag :action => 'update', :id => @user do %>
|
||||
|
||||
<label for="user_name">Nome</label><br/>
|
||||
<%= text_field "user", "name", :size => 20 %><br/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<p>
|
||||
<%= error_messages_for 'user' %><br/>
|
||||
|
||||
<% form_tag :action=>'forgot_password' do %>
|
||||
<%= form_tag :action=>'forgot_password' do %>
|
||||
|
||||
Email<br/>
|
||||
<%= text_field "user","email" %><br/><br/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<p>
|
||||
<%= error_messages_for 'user' %><br/>
|
||||
|
||||
<% form_tag :action=> "login" do %>
|
||||
<%= form_tag :action=> "login" do %>
|
||||
|
||||
<label for="user_login">Login:</label><br/>
|
||||
<%= text_field "user", "login", :size => 20 %><br/>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<% @news_messages.each do |n| %>
|
||||
<div class="line">
|
||||
<h4 class="left"><%= n.timestamp.strftime("%d de %B") %></h4>
|
||||
<h4><%= link_to h(n.course.full_name) , course_news_instance_url(n.course, n) %> ›
|
||||
<h4><%= link_to h(n.course.full_name) , course_news_instance_url(n.course, n) %> ›
|
||||
<a href="#" id="new_<%=n.id%>"><%= h(n.title) %></a></h4>
|
||||
|
||||
<p id="new_desc_<%= n.id %>" style="display:none">
|
||||
@@ -48,7 +48,7 @@
|
||||
<% end %>
|
||||
<li>
|
||||
<div class="time"><%= event.time.strftime("%H:%M") %></div>
|
||||
<%= link_to h(event.course.full_name), course_event_url(event.course, event) %> ›
|
||||
<%= link_to h(event.course.full_name), course_event_url(event.course, event) %> ›
|
||||
<a href="#" id="event_<%= event.id %>"><%= h(event.title) %></a>
|
||||
|
||||
<div id="desc_<%= event.id %>" class="description" style="display:none">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<h1 class="title">Criar conta</h1>
|
||||
|
||||
<p>
|
||||
<% form_tag :action=> "signup" do %>
|
||||
<%= form_tag :action=> "signup" do %>
|
||||
|
||||
<%= error_messages_for 'user' %><br/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user