Sha256: 0bba17f1e327cfdb48e10cd8940117527711abc708fd4f8b6f0c6b626e693dc6

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder
  xmlns:ui="urn:ui:com.google.gwt.uibinder"
  xmlns:g="urn:import:com.google.gwt.user.client.ui"
  xmlns:t="urn:import:<%= editors_package %>">

  <g:FlowPanel styleName="gwt-rails-display">

    <g:Label><%if options[:singleton] -%><%= class_name.underscore.singularize.humanize %><% else -%><%= class_name.underscore.pluralize.humanize %><% end -%></g:Label>

    <g:FlowPanel styleName="gwt-rails-buttons">
<% unless options[:singleton] -%>
      <g:Button ui:field="newButton">New</g:Button>
<% end -%>
      <g:Button ui:field="editButton">Edit</g:Button>
      <g:Button ui:field="showButton">Show</g:Button>
    </g:FlowPanel>

    <g:FlowPanel ui:field="model" styleName="gwt-rails-model">

      <t:<%= class_name %>Editor ui:field="editor" styleName="gwt-rails-model-editor" />

      <g:FlowPanel styleName="gwt-rails-buttons">
<% unless options[:singleton] -%>
        <g:Button ui:field="createButton">Create</g:Button>
<% end -%>
        <g:Button ui:field="saveButton">Save</g:Button>
<% unless options[:singleton] -%>
        <g:Button ui:field="deleteButton">Delete</g:Button>
<% end -%>
      </g:FlowPanel>

    </g:FlowPanel>
<% unless options[:singleton] -%>
    
    <g:FlowPanel styleName="gwt-rails-model-list">
      <g:FlexTable ui:field="list"/>
    </g:FlowPanel>
<% end -%>

  </g:FlowPanel>

</ui:UiBinder>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
resty-generators-0.6.0 lib/generators/resty/templates/View.ui.xml