Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
last integration part, misses Admin css
- Loading branch information
1 parent
a6da9ac
commit ec3d0c8
Showing
14 changed files
with
76 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
<%= render 'shared/error_messages', :target => message %> | ||
<%= render 'shared/error_messages', :target => message %> | ||
|
||
<div class="row"> | ||
<%= f.label :subject %> | ||
<%= f.text_field :subject %> | ||
</div> | ||
|
||
<div class="row"> | ||
<%= f.label :body %> | ||
<%= f.text_area :body %> | ||
</div> | ||
<tr><td class="label"><%= f.label :subject %></td><td><%= f.text_field :subject %></td></tr> | ||
<tr><td class="label"><%= f.label :body %></td><td><%= f.text_area :body, :cols => 90, :rows => 20 %></td></tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<% content_for :content_title do %> | ||
<h2>Login</h2> | ||
<% end %> | ||
<%= form_tag "/session/" do %> | ||
<%= hidden_field_tag :redirect, params[:redirect] %> | ||
<div class="row"> | ||
<%= label_tag "email:" %> | ||
<%= text_field_tag "email" %> | ||
</div> | ||
<div class="row"> | ||
<%= label_tag "password:" %> | ||
<%= password_field_tag "password" %> | ||
</div> | ||
<%= submit_tag 'Login' %> or <%= link_to 'Signup', new_user_path %> | ||
<table class="form-table"> | ||
<tr><td class="label"><%= label_tag "email:" %></td><td><%= text_field_tag "email" %></td></tr> | ||
<tr><td class="label"><%= label_tag "password:" %></td><td><%= password_field_tag "password" %></td></tr> | ||
<tr><td class="button" colspan=2><%= submit_tag 'Login' %> or <%= link_to 'Signup', new_user_path %></td></tr> | ||
</table> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
<% content_for :header_menu do %> | ||
<ul> | ||
<li><%= link_to "Discussion groups", groups_path %></li> | ||
<li>></li> | ||
<li><%= link_to @group.name, group_topics_path(@group) %></li> | ||
<li>></li> | ||
<li><%= truncate(@topic.subject) %></li> | ||
</ul> | ||
<% end %> | ||
<%= decorate(@topic) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,4 @@ | ||
<div class="row"> | ||
<%= f.label :email %> | ||
<%= f.text_field :email %> | ||
</div> | ||
|
||
<div class="row"> | ||
<%= f.label :username %> | ||
<%= f.text_field :username %> | ||
</div> | ||
|
||
<div class="row"> | ||
<%= f.label :password %> | ||
<%= f.password_field :password %> | ||
</div> | ||
|
||
<div class="row"> | ||
<%= f.label :password_confirmation %> | ||
<%= f.password_field :password_confirmation %> | ||
</div> | ||
<tr><td class="label"><%= f.label :email %></td><td><%= f.text_field :email %></td></tr> | ||
<tr><td class="label"><%= f.label :username %></td><td><%= f.text_field :username %></td></tr> | ||
<tr><td class="label"><%= f.label :password %></td><td><%= f.password_field :password %></td></tr> | ||
<tr><td class="label"><%= f.label :password_confirmation %></td><td><%= f.password_field :password_confirmation %></td></tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
<% content_for :content_title do %> | ||
<h2>Sign Up</h2> | ||
<% end %> | ||
<%= form_for @user do |f| %> | ||
<table class="form-table"> | ||
<%= render 'shared/error_messages', :target => @user %> | ||
<%= render 'form', :f => f %> | ||
|
||
<%= f.submit %> | ||
<tr><td class="button" colspan=2><%= f.submit %></td></tr> | ||
</table> | ||
<%- end -%> |
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters