add paper status textfield
This commit is contained in:
parent
274d4b5cff
commit
6d861f8be0
|
@ -83,7 +83,7 @@ class Desktop::JournalPagesController < ApplicationController
|
||||||
def destroy
|
def destroy
|
||||||
@writing_journal = WritingJournal.find(params[:id])
|
@writing_journal = WritingJournal.find(params[:id])
|
||||||
@writing_journal.destroy
|
@writing_journal.destroy
|
||||||
render :json => {success: true,msg: "Paper deleted successfully!"}
|
render :json => {success: true, msg: "Paper deleted successfully!"}
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_journals_json
|
def get_journals_json
|
||||||
|
|
|
@ -171,6 +171,14 @@
|
||||||
<%= f.text_field :tag, size: "20", value: "Tag", class: "s_grid_6 s_grid"%>
|
<%= f.text_field :tag, size: "20", value: "Tag", class: "s_grid_6 s_grid"%>
|
||||||
<span class="icon-plus input_append"></span>
|
<span class="icon-plus input_append"></span>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="s_grid_row">
|
||||||
|
<select name="" id="" class="s_grid s_grid_2">
|
||||||
|
<option value="">Status</option>
|
||||||
|
<option value="">Published</option>
|
||||||
|
<option value="">Pending</option>
|
||||||
|
<option value="">Writing</option>
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="s_grid_con s_form">
|
<div class="s_grid_con s_form">
|
||||||
|
|
Reference in New Issue