refactor lifetime_select helper
This commit is contained in:
parent
de4e859928
commit
5e584ee626
2 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@
|
|||
%td= f.text_field :file_name, :placeholder => "example.rb"
|
||||
%tr
|
||||
%td= f.label "Lifetime"
|
||||
%td= f.select :expires_at, snippet_lifetime_select_options
|
||||
%td= f.select :expires_at, lifetime_select_options
|
||||
%tr
|
||||
%td{:colspan => 2}
|
||||
= f.label :content, "Code"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue