fix: #10 remove auto keyword generation choice
This commit is contained in:
parent
0254601819
commit
618492435c
@ -49,7 +49,6 @@ pub mod form {
|
||||
pub publish_at: NaiveDateTime,
|
||||
pub url: Option<String>,
|
||||
pub keywords: String,
|
||||
pub auto_keywords: bool,
|
||||
}
|
||||
impl Into<NewArticle> for NewArticleForm {
|
||||
fn into(self) -> NewArticle {
|
||||
|
@ -38,12 +38,6 @@
|
||||
KEYWORDS:
|
||||
<input type="text" name="keywords" value='{{ article.keywords | join(sep=",") }}'>
|
||||
</div>
|
||||
<div>
|
||||
AUTO GENERATE KEYWORDS:
|
||||
<input type="checkbox" id="auto_keywords_show" checked onclick="document.getElementById('auto_keywords').value = document.getElementById('auto_keywords_show').checked ? 'true' : 'false'">
|
||||
<input type="hidden" name="auto_keywords" id="auto_keywords" value="true">
|
||||
</div>
|
||||
|
||||
<button>submit</button>
|
||||
</form>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user