Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F461286
No One
Temporary
Actions
View 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, May 18, 12:12 AM
Size
834 B
Mime Type
text/x-diff
Expires
Tue, May 20, 12:12 AM (1 d, 32 m)
Engine
blob
Format
Raw Data
Handle
220221
Attached To
rWEBDNS WebDNS (edet4)
View Options
diff --git a/app/views/records/_inline_form.html.erb b/app/views/records/_inline_form.html.erb
new file mode 100644
index 0000000..9fb29ce
--- /dev/null
+++ b/app/views/records/_inline_form.html.erb
@@ -0,0 +1,14 @@
+<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