mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Derive DNP types from reasons (#81)
* derive dnp types from reasons * improve styling
This commit is contained in:
parent
306f4521e5
commit
7c1f5c5095
1 changed files with 2 additions and 9 deletions
|
@ -58,15 +58,8 @@ defmodule Philomena.DnpEntries.DnpEntry do
|
|||
do: changeset
|
||||
|
||||
def types do
|
||||
[
|
||||
"No Edits",
|
||||
"Artist Tag Change",
|
||||
"Uploader Credit Change",
|
||||
"Certain Type/Location Only",
|
||||
"With Permission Only",
|
||||
"Artist Upload Only",
|
||||
"Other"
|
||||
]
|
||||
reasons()
|
||||
|> Enum.map(fn {title, _desc} -> title end)
|
||||
end
|
||||
|
||||
def reasons do
|
||||
|
|
Loading…
Reference in a new issue