Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F449197
_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
Thu, Apr 24, 4:18 PM
Size
645 B
Mime Type
text/x-c
Expires
Sat, Apr 26, 4:18 PM (1 d, 15 h)
Engine
blob
Format
Raw Data
Handle
214571
Attached To
rWEBDNS WebDNS (edet4)
_form.html.erb
View Options
<%=
bootstrap_form_for
(
[
@domain
,
@record
]
,
layout
:
:horizontal
,
label_col
:
'col-sm-2'
,
control_col
:
'col-sm-8'
)
do
|
f
|
%>
<%=
f
.
text_field
:name
,
value
:
@record
.
short
,
label
:
'Record'
,
append
:
name_field_append
(
@record
)
%>
<%
if
@record
.
persisted?
%>
<%=
f
.
static_control
:type
%>
<%
else
%>
<%=
f
.
select
:type
,
record_types_for_domain
(
@domain
)
%>
<%
end
%>
<%=
f
.
text_field
:prio
,
placeholder
:
10
,
class
:
'autohide'
,
wrapper_class
:
@record
.
supports_prio?
?
''
:
'hidden'
%>
<%=
f
.
text_field
:ttl
,
label
:
'TTL'
%>
<%=
f
.
text_field
:content
%>
<%=
f
.
submit
'Save'
,
class
:
'btn btn-primary col-sm-offset-2'
%>
<%
end
%>
Event Timeline
Log In to Comment