Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
article merging works - comments not started yet
- Loading branch information
Samvit Ramadurgam
committed
Mar 10, 2012
1 parent
f1de5dd
commit 2993e71
Showing
4 changed files
with
45 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
BUNDLE_WITHOUT: adapters | ||
BUNDLE_WITHOUT: production |
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,3 +1,10 @@ | ||
<% @page_heading = _('New article') %> | ||
<% if @status=="edit" %> | ||
<form> | ||
ID of Article to be merged: <input type="text" name="id_to_merge" /><br /> | ||
<input type="submit" value="Merge With This Article" /> | ||
</form> | ||
<% end %> | ||
<%= render "admin/shared/edit", { :form_type => "article", :form_action => { :action => "new", :id => @article.id , :class => ('autosave')} } %> |