Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1090756
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
Wed, Oct 15, 11:25 AM
Size
834 B
Mime Type
text/x-diff
Expires
Fri, Oct 17, 11:25 AM (1 d, 12 h)
Engine
blob
Format
Raw Data
Handle
279915
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