Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1615455
_inline_form.html.erb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Mar 22, 12:56 AM
Size
604 B
Mime Type
text/x-c
Expires
Tue, Mar 24, 12:56 AM (20 h, 49 m)
Engine
blob
Format
Raw Data
Handle
354417
Attached To
rWEBDNS WebDNS (edet4)
_inline_form.html.erb
View Options
<div id="inline-record-form">
<%=
bootstrap_form_for
(
[
@domain
,
@record
]
,
layout
:
:inline
)
do
|
f
|
%>
<%=
f
.
text_field
:name
,
value
:
@record
.
short
,
label
:
''
,
append
:
name_field_append
(
@record
),
skip_label
:
true
%>
<%=
f
.
text_field
:ttl
,
skip_label
:
true
,
placeholder
:
'ttl'
%>
IN
<%=
f
.
select
:type
,
record_types_for_domain
(
@domain
),
skip_label
:
true
%>
<%=
f
.
text_field
:prio
,
placeholder
:
'prio'
,
skip_label
:
true
,
class
:
'autodisable'
,
disabled
:
!
@record
.
supports_prio?
%>
<%=
f
.
text_field
:content
,
skip_label
:
true
%>
<%=
f
.
submit
'Add'
,
class
:
'btn btn-primary'
%>
<%
end
%>
</div>
Event Timeline
Log In to Comment