cirandas.net

ref: master

plugins/diagramo/views/diagramo_plugin_admin/index.html.erb


<%= form_for environment, as: :environment, url: {controller: :diagramo_plugin_admin, action: :index} do |f| %>
  <%= f.fields_for :diagramo_settings, environment.diagramo_settings do |ff| %>

    <%= ff.label :url, 'Endereço do diagramo' %>
    <%= ff.text_field :url %>

    

<%= 'Usuário administrador' %>

<%= ff.label :admin_email, 'Email' %> <%= ff.text_field :admin_email %> <%= ff.label :admin_password, 'Senha' %> <%= ff.text_field :admin_password %> <% end %>
<% button_bar do %> <%= submit_button('save', _('Save changes')) %> <%= button :back, _('Back to plugins administration panel'), controller: 'plugins' %> <% end %>
<% end %>