This repository has been archived by the owner on Aug 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed a few stupid bugs in testimonials plugin, made the admin menu m…
…ore neutral
- Loading branch information
Josh Adams
committed
Nov 9, 2008
1 parent
76c7b08
commit 836e185
Showing
6 changed files
with
21 additions
and
13 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
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
7 changes: 5 additions & 2 deletions
7
vendor/plugins/ansuz_testimonials/app/views/admin/testimonials/_form.html.erb
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,2 +1,5 @@ | ||
Content: <%= f.text_area(:content) -%><br /> | ||
Attributed To: <%= f.text_field(:attributed_to) -%><br /> | ||
<table class='form-table'> | ||
<%= form_row "Content", f.text_area(:content) -%> | ||
<%= form_row "Attributed To", f.text_field(:attributed_to) -%> | ||
</table> | ||
<br /> |
9 changes: 5 additions & 4 deletions
9
vendor/plugins/ansuz_testimonials/app/views/admin/testimonials/edit.html.erb
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,8 +1,9 @@ | ||
<%= title "Edit Ansuz Theme: #{@ansuz_theme}" -%> | ||
<%= title "Edit Testimonial: #{@testimonial}" -%> | ||
<% content_for :sidebar do -%> | ||
<%= link_to "All Ansuz Themes", admin_ansuz_themes_path, :class => 'button icon back' -%> | ||
<%= link_to "All Testimonials", admin_testimonials_path, :class => 'button icon back' -%> | ||
<% end -%> | ||
<% form_for :ansuz_theme, :url => admin_ansuz_theme_path(@ansuz_theme), :html => { :method => :put } do |f| -%> | ||
<% form_for :testimonial, :url => admin_testimonial_path(@testimonial), :html => { :method => :put } do |f| -%> | ||
<%= render :partial => 'form', :locals => { :f => f } -%> | ||
<%= submit_tag("Update Ansuz Theme") -%> or <%= link_to "Cancel", admin_ansuz_themes_path -%> | ||
<%= submit_tag("Update Testimonial") -%> or <%= link_to "Cancel", admin_testimonials_path -%> | ||
<% end -%> |
2 changes: 1 addition & 1 deletion
2
vendor/plugins/ansuz_user_manager/app/views/admin/users/new.html.erb
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